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