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