. */ namespace SP\Modules\Web\Controllers\Upgrade; use SP\Core\Acl\Actions; use SP\Core\Application; use SP\Domain\Core\Acl\ActionsInterface; use SP\Infrastructure\File\FileException; use SP\Modules\Web\Controllers\ControllerBase; use SP\Mvc\Controller\WebControllerHelper; /** * Class IndexController */ final class IndexController extends ControllerBase { private Actions $actions; public function __construct(Application $application, WebControllerHelper $webControllerHelper, ActionsInterface $actions) { parent::__construct($application, $webControllerHelper); $this->actions = $actions; } /** * indexAction * * @throws FileException */ public function indexAction(): void { $this->layoutHelper->getPublicLayout('index', 'upgrade'); $this->actions->reset(); $this->view(); } }