. */ namespace SP\Modules\Web\Controllers\Resource; use SP\Core\Application; use SP\Domain\Core\Exceptions\SessionTimeout; use SP\Domain\Core\Exceptions\SPException; use SP\Domain\Html\Ports\MinifyService; use SP\Modules\Web\Controllers\SimpleControllerBase; use SP\Mvc\Controller\SimpleControllerHelper; /** * Class ResourceBase */ abstract class ResourceBase extends SimpleControllerBase { /** * @throws SessionTimeout * @throws SPException */ public function __construct( Application $application, SimpleControllerHelper $simpleControllerHelper, protected readonly MinifyService $minify ) { parent::__construct($application, $simpleControllerHelper); $this->request->verifySignature($this->configData->getPasswordSalt()); } }