[TASK] Avoid ObjectManager in ext:extbase
This finishes removal of regular extbase ObjectManager usages throughout the core: All left over places are fallback situations if extensions don't provide proper service definitions. Most places are casual replacements, many of them have been prepared with previous patches. Some places like Query and QueryResult still need special handling: The patch introduces some 'ForwardCompatible' interfaces implemented by core to otherwise OM-fallback if extensions didn't catch up yet. This avoids expensive runtime reflection in potentially often-called areas. When this patch is merged, a final patch can be done, including a ReST with some dedicated transition tips and the ultimate ObjectManager deprecation. Resolves: #94451 Related: #90803 Related: #92238 Releases: master Change-Id: Ic53f3bf6a04d15052680a953c76d19182a2e5e87 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69676 Tested-by:core-ci <typo3@b13.com> Tested-by:
Benni Mack <benni@typo3.org> 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>
Showing
- typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php 10 additions, 10 deletions...ysext/extbase/Classes/Mvc/Controller/ActionController.php
- typo3/sysext/extbase/Classes/Mvc/Controller/ControllerContext.php 4 additions, 5 deletions...sext/extbase/Classes/Mvc/Controller/ControllerContext.php
- typo3/sysext/extbase/Classes/Mvc/Dispatcher.php 1 addition, 0 deletionstypo3/sysext/extbase/Classes/Mvc/Dispatcher.php
- typo3/sysext/extbase/Classes/Mvc/View/GenericViewResolver.php 14 additions, 7 deletions...3/sysext/extbase/Classes/Mvc/View/GenericViewResolver.php
- typo3/sysext/extbase/Classes/Persistence/ForwardCompatibleQueryInterface.php 27 additions, 0 deletions...e/Classes/Persistence/ForwardCompatibleQueryInterface.php
- typo3/sysext/extbase/Classes/Persistence/ForwardCompatibleQueryResultInterface.php 27 additions, 0 deletions...ses/Persistence/ForwardCompatibleQueryResultInterface.php
- typo3/sysext/extbase/Classes/Persistence/Generic/LazyLoadingProxy.php 6 additions, 28 deletions.../extbase/Classes/Persistence/Generic/LazyLoadingProxy.php
- typo3/sysext/extbase/Classes/Persistence/Generic/LazyObjectStorage.php 7 additions, 28 deletions...extbase/Classes/Persistence/Generic/LazyObjectStorage.php
- typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapper.php 10 additions, 46 deletions...extbase/Classes/Persistence/Generic/Mapper/DataMapper.php
- typo3/sysext/extbase/Classes/Persistence/Generic/Query.php 35 additions, 60 deletionstypo3/sysext/extbase/Classes/Persistence/Generic/Query.php
- typo3/sysext/extbase/Classes/Persistence/Generic/QueryFactory.php 22 additions, 28 deletions...sext/extbase/Classes/Persistence/Generic/QueryFactory.php
- typo3/sysext/extbase/Classes/Persistence/Generic/QueryResult.php 19 additions, 54 deletions...ysext/extbase/Classes/Persistence/Generic/QueryResult.php
- typo3/sysext/extbase/Classes/Persistence/QueryInterface.php 7 additions, 0 deletionstypo3/sysext/extbase/Classes/Persistence/QueryInterface.php
- typo3/sysext/extbase/Classes/Persistence/QueryResultInterface.php 5 additions, 0 deletions...sext/extbase/Classes/Persistence/QueryResultInterface.php
- typo3/sysext/extbase/Classes/Property/PropertyMapper.php 17 additions, 26 deletionstypo3/sysext/extbase/Classes/Property/PropertyMapper.php
- typo3/sysext/extbase/Classes/Property/TypeConverter/AbstractFileFolderConverter.php 2 additions, 1 deletion...es/Property/TypeConverter/AbstractFileFolderConverter.php
- typo3/sysext/extbase/Classes/Property/TypeConverter/ObjectConverter.php 18 additions, 0 deletions...xtbase/Classes/Property/TypeConverter/ObjectConverter.php
- typo3/sysext/extbase/Classes/Utility/DebuggerUtility.php 1 addition, 0 deletionstypo3/sysext/extbase/Classes/Utility/DebuggerUtility.php
- typo3/sysext/extbase/Configuration/Services.yaml 11 additions, 4 deletionstypo3/sysext/extbase/Configuration/Services.yaml
- typo3/sysext/extbase/Tests/Unit/Persistence/Generic/QueryFactoryTest.php 13 additions, 11 deletions...tbase/Tests/Unit/Persistence/Generic/QueryFactoryTest.php
Please register or sign in to comment