. */ namespace SP\Modules\Web\Controllers\Account; use SP\Core\Application; use SP\Core\UI\ThemeIcons; use SP\Domain\Account\Ports\AccountService; use SP\Modules\Web\Controllers\Helpers\Account\AccountHelper; use SP\Mvc\Controller\WebControllerHelper; /** * A class for al viewable actions */ abstract class AccountViewBase extends AccountControllerBase { protected AccountService $accountService; protected AccountHelper $accountHelper; protected ThemeIcons $icons; public function __construct( Application $application, WebControllerHelper $webControllerHelper, \SP\Domain\Account\Ports\AccountService $accountService, AccountHelper $accountHelper ) { parent::__construct($application, $webControllerHelper); $this->accountService = $accountService; $this->accountHelper = $accountHelper; $this->icons = $this->theme->getIcons(); } }