Breaking: #57594 - Optimize ReflectionService Cache handling¶
See forge#57594
Description¶
The extbase_
cache has been removed completely and all necessary information about objects,
mainly @inject information, is now fetched from the ReflectionService as well.
The ReflectionService does still create Class
instances but these were improved a lot. All
necessary information is now gathered during the instantiation of Class
instances. That means
that all necessary data is fetched once and then it can be used everywhere making any further
reflection superfluous.
As runtime reflection has been removed completely, along with it several reflection classes, that analyzed doc blocks, have been removed as well. These are no longer necessary.
The extbase_
cache is no longer plugin based and will no longer be stored in the database
in the first place. Serialized ClassSchema instances will be stored in typo3temp/
or var/
for
composer-based installations.
The following classes for internal use only and have been removed:
Class
Info Class
Info Cache Class
Info Factory Class
Reflection Method
Reflection Parameter
Reflection Property
Reflection
The following methods of the PHP class Reflection
have been removed:
inject
Configuration Manager set
Data Cache initialize
is
Initialized shutdown
Impact¶
Installations using the above classes or methods will throw a fatal error.
Affected Installations¶
Installations using one of the mentioned classes or methods instead of the ReflectionService API.
Migration¶
Use the class Reflection
as API which will be automatically initialized on
instantiation.