Skip to content

Commit

Permalink
#2 mark it as application aware
Browse files Browse the repository at this point in the history
  • Loading branch information
1stthomas committed Sep 30, 2021
1 parent 58b306b commit 6981176
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/Concrete/Services/AbstractService.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@
namespace Concrete\Package\Ht7C5Base\Services;

use \Concrete\Core\Application\Application;
use \Concrete\Core\Application\ApplicationAwareInterface;
use \Concrete\Core\Application\ApplicationAwareTrait;

abstract class AbstractService
abstract class AbstractService implements ApplicationAwareInterface
{

use ApplicationAwareTrait;

/**
* @var Application The application container.
*/
Expand All @@ -19,7 +23,7 @@ abstract class AbstractService
*/
public function __construct(Application $app)
{
$this->app = $app;
$this->setApplication($app);
}

}

0 comments on commit 6981176

Please sign in to comment.