‪TYPO3CMS  ‪main
SilentTemplateFileUpgradeService.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 /*
6  * This file is part of the TYPO3 CMS project.
7  *
8  * It is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU General Public License, either version 2
10  * of the License, or any later version.
11  *
12  * For the full copyright and license information, please read the
13  * LICENSE.txt file that was distributed with this source code.
14  *
15  * The TYPO3 project - inspiring people to share!
16  */
17 
19 
21 
35 {
36  public function ‪__construct(protected readonly ‪WebServerConfigurationFileService $webServerConfigurationFileService) {}
37 
44  public function ‪execute(): void
45  {
47  }
48 
52  protected function ‪addBackendRoutingRewriteRules(): void
53  {
54  $changed = $this->webServerConfigurationFileService->addWebServerSpecificBackendRoutingRewriteRules();
55 
56  if ($changed) {
58  }
59  }
60 
66  protected function ‪throwTemplateFileChangedException(): void
67  {
69  'Template file updated, reload needed',
70  1608286894
71  );
72  }
73 }
‪TYPO3\CMS\Install\Service\SilentTemplateFileUpgradeService\addBackendRoutingRewriteRules
‪addBackendRoutingRewriteRules()
Definition: SilentTemplateFileUpgradeService.php:52
‪TYPO3\CMS\Install\Service\SilentTemplateFileUpgradeService\throwTemplateFileChangedException
‪throwTemplateFileChangedException()
Definition: SilentTemplateFileUpgradeService.php:66
‪TYPO3\CMS\Install\Service\SilentTemplateFileUpgradeService\execute
‪execute()
Definition: SilentTemplateFileUpgradeService.php:44
‪TYPO3\CMS\Install\Service\WebServerConfigurationFileService
Definition: WebServerConfigurationFileService.php:28
‪TYPO3\CMS\Install\Service\SilentTemplateFileUpgradeService
Definition: SilentTemplateFileUpgradeService.php:35
‪TYPO3\CMS\Install\Service\Exception\TemplateFileChangedException
Definition: TemplateFileChangedException.php:25
‪TYPO3\CMS\Install\Service\SilentTemplateFileUpgradeService\__construct
‪__construct(protected readonly WebServerConfigurationFileService $webServerConfigurationFileService)
Definition: SilentTemplateFileUpgradeService.php:36
‪TYPO3\CMS\Install\Service
Definition: ClearCacheService.php:16