. */ namespace SP\Modules\Web\Controllers\AccountFavorite; use Klein\Klein; use SP\Core\Acl\Acl; use SP\Core\Application; use SP\Core\PhpExtensionChecker; use SP\Core\UI\ThemeInterface; use SP\Domain\Account\AccountToFavoriteServiceInterface; use SP\Http\RequestInterface; use SP\Modules\Web\Controllers\SimpleControllerBase; /** * Class AccountFavoriteBase */ abstract class AccountFavoriteBase extends SimpleControllerBase { protected AccountToFavoriteServiceInterface $accountToFavoriteService; public function __construct( Application $application, ThemeInterface $theme, Klein $router, Acl $acl, RequestInterface $request, PhpExtensionChecker $extensionChecker, AccountToFavoriteServiceInterface $accountToFavoriteService ) { parent::__construct($application, $theme, $router, $acl, $request, $extensionChecker); $this->checks(); $this->accountToFavoriteService = $accountToFavoriteService; } }