Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0.0BETA1
-
Fix Version/s: 1.0.0BETA2
-
Component/s: None
-
Labels:None
-
Environment:Cent OS 5.5, PHP 5.3
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
- is referenced by
-
DDC-1029
renaming "load()" in proxy to "__load()"
-
Fixed for ODM here https://github.com/doctrine/mongodb-odm/commit/bfda83d678af1e2104ce4fba62f9dd47185b210e