. */ namespace SP\Modules\Web\Controllers\AccountFavorite; use SP\Core\Application; use SP\Domain\Account\AccountToFavoriteServiceInterface; use SP\Modules\Web\Controllers\SimpleControllerBase; use SP\Mvc\Controller\SimpleControllerHelper; /** * Class AccountFavoriteBase */ abstract class AccountFavoriteBase extends SimpleControllerBase { protected AccountToFavoriteServiceInterface $accountToFavoriteService; public function __construct( Application $application, SimpleControllerHelper $simpleControllerHelper, AccountToFavoriteServiceInterface $accountToFavoriteService ) { parent::__construct($application, $simpleControllerHelper); $this->checks(); $this->accountToFavoriteService = $accountToFavoriteService; } }