-
Christian Kuhn authored
RenderingContext is a good case for a class that creates "arbitrary" objects: The PreProcessor class names are retrieved from global configuration in order to be instantiated. This initialization is moved into a (install tool mode compatible) factory in order to transform ObjectManager into a fallback layer for PreProcessors that are not defined in the newer PSR container. Therefore $container->has() is used prior to $container->get(), in order to fallback to ObjectManager for objects that can't be retrieved – due to missing configuration – via ContainerInterface yet. Resolves: #94285 Related: #90803 Releases: master Change-Id: I3fd1751b8580de7c8307e9b84da38e1551c2c622 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69412 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Benjamin Franzke <bfr@qbus.de> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Benjamin Franzke <bfr@qbus.de> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
04d844fc