addBackendRoutingRewriteRules(); } /** * @throws TemplateFileChangedException */ protected function addBackendRoutingRewriteRules(): void { $changed = $this->webServerConfigurationFileService->addWebServerSpecificBackendRoutingRewriteRules(); if ($changed) { $this->throwTemplateFileChangedException(); } } /** * Throw exception after template file content change to trigger a redirect. * * @throws TemplateFileChangedException */ protected function throwTemplateFileChangedException(): void { throw new TemplateFileChangedException( 'Template file updated, reload needed', 1608286894 ); } }