[TASK] Use runtime cache for LanguageService
This change moves state for caching purposes from $GLOBALS[LANG] into the runtime cache allowing for further reducing the need to keep the LanguageService in a global state. Resolves: #94415 Releases: master Change-Id: Id8bc974fc65e630695d5f86a13ff0c137cd8f3ba Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69551 Tested-by:core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Benjamin Franzke <bfr@qbus.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Benjamin Franzke <bfr@qbus.de>
Showing
- typo3/sysext/core/Classes/Localization/LanguageService.php 16 additions, 31 deletionstypo3/sysext/core/Classes/Localization/LanguageService.php
- typo3/sysext/core/Classes/Localization/LanguageServiceFactory.php 11 additions, 12 deletions...sext/core/Classes/Localization/LanguageServiceFactory.php
- typo3/sysext/core/Classes/ServiceProvider.php 2 additions, 1 deletiontypo3/sysext/core/Classes/ServiceProvider.php
- typo3/sysext/core/Configuration/Services.yaml 2 additions, 0 deletionstypo3/sysext/core/Configuration/Services.yaml
- typo3/sysext/extbase/Tests/Unit/Utility/LocalizationUtilityTest.php 3 additions, 3 deletions...xt/extbase/Tests/Unit/Utility/LocalizationUtilityTest.php
- typo3/sysext/form/Tests/Unit/Service/TranslationServiceTest.php 1 addition, 1 deletion...sysext/form/Tests/Unit/Service/TranslationServiceTest.php
- typo3/sysext/frontend/Tests/Unit/ContentObject/Menu/AbstractMenuContentObjectTest.php 1 addition, 1 deletion...Unit/ContentObject/Menu/AbstractMenuContentObjectTest.php
- typo3/sysext/frontend/Tests/Unit/Controller/TypoScriptFrontendControllerTest.php 37 additions, 27 deletions...ests/Unit/Controller/TypoScriptFrontendControllerTest.php
Please register or sign in to comment