Details
Description
It would be really great if the method "load" is renamed to something more protected like "__load" or "_doctrineOdmLoad" like it has done for public properties
public $__dm;
public $__identifier;
public $isInitialized = false;
Because otherwise if a referenced document has the same method "load" it causes error like this
"Fatal error: Cannot redeclare Proxies\ProjectProxy::load() in /projects/tbi_doctrine/tmp/doctrine/proxies/ProjectProxy.php on line 46"
Issue Links
- relates to
-
MODM-118
rename "load" method in Proxy object to "__load__"
-
This issue is a duplicate of another issue in the ODM. The fix applies to the ORM as well.