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