-
Christian Kuhn authored
Legacy Extbase ObjectManager has a symfony DI compiler pass that registers all DI registered "Foo"Interface aliases via registerImplementation in Extbase container, too. This however only works if the target is a class. The Psr/Container/ContainerInterface is a magic 'service_container' alias, though. In turn, ObjectManager fails to inject Psr/Container/ContainerInterface. The patch adds this interface explicitly and adds a functional test to make sure it works. We target that patch to both v11 and v10 to simplify the transition from ObjectManager to symfony based DI. Resolves: #94608 Related: #90803 Related: #94453 Releases: master, 10.4 Change-Id: I282240548d8d8c571314dd433653dc30d1e0dad4 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70017 Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Jochen <rothjochen@gmail.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Jochen <rothjochen@gmail.com> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
db551e17