Deprecation: #94414 - LanguageService container entry
See forge#94414
Description
Instances of \TYPO3\
require
custom initialization with a language key and additionally depend on Core services.
\TYPO3\
has therefore
previously been introduced in order to manage this initialization.
This replaced prior used instantiation via
TYPO3\
or
General
.
Impact
Injecting \TYPO3\
or creating
instances via General
,
Language
, Language
or Language
will trigger a
PHP E_
error.
Affected Installations
Extensions injecting \TYPO3\
or creating custom instances via General
or TYPO3\
.
This is relatively unlikely since most usages are bootstrap related and
extensions usually access the prepared LanguageService via GLOBALS
in normal cases.
Usages of Language
, Language
and Language
are be found by the extension scanner
as strong match.
Migration
The factory \TYPO3\
should be injected and used instead.