‪TYPO3CMS  11.5
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 {
37 
39  {
40  $this->webServerConfigurationFileService = ‪$webServerConfigurationFileService;
41  }
42 
49  public function ‪execute(): void
50  {
52  }
53 
57  protected function ‪addBackendRoutingRewriteRules(): void
58  {
59  $changed = $this->webServerConfigurationFileService->addWebServerSpecificBackendRoutingRewriteRules();
60 
61  if ($changed) {
63  }
64  }
65 
71  protected function ‪throwTemplateFileChangedException(): void
72  {
74  'Template file updated, reload needed',
75  1608286894
76  );
77  }
78 }
‪TYPO3\CMS\Install\Service\SilentTemplateFileUpgradeService\addBackendRoutingRewriteRules
‪addBackendRoutingRewriteRules()
Definition: SilentTemplateFileUpgradeService.php:57
‪TYPO3\CMS\Install\Service\SilentTemplateFileUpgradeService\throwTemplateFileChangedException
‪throwTemplateFileChangedException()
Definition: SilentTemplateFileUpgradeService.php:71
‪TYPO3\CMS\Install\Service\SilentTemplateFileUpgradeService\execute
‪execute()
Definition: SilentTemplateFileUpgradeService.php:49
‪TYPO3\CMS\Install\Service\SilentTemplateFileUpgradeService\$webServerConfigurationFileService
‪WebServerConfigurationFileService $webServerConfigurationFileService
Definition: SilentTemplateFileUpgradeService.php:36
‪TYPO3\CMS\Install\Service\SilentTemplateFileUpgradeService\__construct
‪__construct(WebServerConfigurationFileService $webServerConfigurationFileService)
Definition: SilentTemplateFileUpgradeService.php:38
‪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
Definition: ClearCacheService.php:16