DDC-1029: renaming "load()" in proxy to "__load()" #1618

doctrinebot opened this Issue Feb 11, 2011 · 3 comments

2 participants


Jira issue originally created by user @jwage:

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 $
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"


Comment created by @jwage:

This issue is a duplicate of another issue in the ODM. The fix applies to the ORM as well.


Comment created by @guilhermeblanco:

Fixed on master



Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added this to the 2.1 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment