. */ namespace SP\Modules\Web\Controllers\Error; use SP\Domain\Core\Exceptions\SPException; final class MaintenanceErrorController extends ErrorBase { /** * maintenanceErrorAction */ public function maintenanceErrorAction(): void { $this->layoutHelper->getPublicLayout('error-maintenance'); $this->view->append( 'errors', [ 'type' => SPException::WARNING, 'description' => __('Application on maintenance'), 'hint' => __('It will be running shortly'), ] ); $this->view(); } }