[TASK] Clean up site configuration functionality
This cleans up several details in the site configuration handling, especially in terms of caching. * Remove SingletonInterface from `SiteConfiguration` * Replace @internal properties with constants * Use injected services instead of duplicated makeInstance() calls * Replacing property based cache with runtime cache in `SiteConfiguration` Resolves: #105263 Releases: main Change-Id: Idbcd9553b1fa65ca5781ef838f12157a5024a349 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86546 Reviewed-by:Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
Showing
- typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/SiteDatabaseEditRowTest.php 4 additions, 6 deletions...ts/Unit/Form/FormDataProvider/SiteDatabaseEditRowTest.php
- typo3/sysext/core/Classes/Configuration/SiteConfiguration.php 30 additions, 48 deletions...3/sysext/core/Classes/Configuration/SiteConfiguration.php
- typo3/sysext/core/Classes/Configuration/SiteWriter.php 8 additions, 25 deletionstypo3/sysext/core/Classes/Configuration/SiteWriter.php
- typo3/sysext/core/Classes/ServiceProvider.php 0 additions, 1 deletiontypo3/sysext/core/Classes/ServiceProvider.php
- typo3/sysext/core/Classes/Site/SiteSettingsService.php 1 addition, 3 deletionstypo3/sysext/core/Classes/Site/SiteSettingsService.php
- typo3/sysext/core/Tests/Functional/Routing/Aspect/PersistedAliasMapperTest.php 1 addition, 2 deletions...ts/Functional/Routing/Aspect/PersistedAliasMapperTest.php
- typo3/sysext/core/Tests/Functional/Routing/Aspect/PersistedPatternMapperTest.php 1 addition, 1 deletion.../Functional/Routing/Aspect/PersistedPatternMapperTest.php
- typo3/sysext/core/Tests/Unit/Configuration/SiteConfigurationTest.php 2 additions, 1 deletion...t/core/Tests/Unit/Configuration/SiteConfigurationTest.php
- typo3/sysext/core/Tests/Unit/Configuration/SiteWriterTest.php 0 additions, 2 deletions...3/sysext/core/Tests/Unit/Configuration/SiteWriterTest.php
Please register or sign in to comment