Actions
Task #86968
closedSwitch properties of LazyLoadingProxy to protected
Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2018-11-21
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
As long as they are private you can't access the properties even from an extended class.
The aim of this is to able to do something like described in #86967 (new feature) by overriding LazyLoadingProxy with your own implementation. Works once the properties (here: fieldValue) is protected.
Overriding in ext_localconf.php with:
$GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects'][\TYPO3\CMS\Extbase\Persistence\Generic\LazyLoadingProxy::class] = ['className' => \Vendor\YourExtension\LazyLoadingProxy::class];
If possible I'd suggest if this could then also be done for 8 LTS.
Actions