TYPO3-Documentation / TYPO3CMS-Reference-CoreApi

"TYPO3 Explained": Main TYPO3 Core Document: Main classes, Security, TypoScript syntax, Extension API and much more
https://docs.typo3.org/m/typo3/reference-coreapi/master/en-us/
21 stars 370 forks source link

Use LanguageServiceFactory instead of global LANG #4558

Closed froemken closed 1 week ago

froemken commented 1 week ago

I have used constructor argument injection, so we can backport that issue to TYPO3 11 hopefully easy. If not, please remove that label from PR. I have kept the attention note below, because it is still valid.

linawolf commented 1 week ago

Let us make a follow up for v12 to switch to the variables directly in the constructor in the PHP 8 way