DDC-952 - Remove unnecessary instance variable and comment on one feature.
This commit is contained in:
parent
b7e522d7a7
commit
4b98e3ea8e
@ -225,13 +225,6 @@ class UnitOfWork implements PropertyChangedListener
|
||||
*/
|
||||
private $eagerLoadingEntities = array();
|
||||
|
||||
/**
|
||||
* Map of Collections that should be eager loaded when requested.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
private $eagerLoadingCollections = array();
|
||||
|
||||
/**
|
||||
* Initializes a new UnitOfWork instance, bound to the given EntityManager.
|
||||
*
|
||||
@ -1901,6 +1894,7 @@ class UnitOfWork implements PropertyChangedListener
|
||||
}
|
||||
}
|
||||
|
||||
// Loading the entity right here, if its in the eager loading map get rid of it there.
|
||||
unset($this->eagerLoadingEntities[$class->name][$idHash]);
|
||||
|
||||
// Properly initialize any unfetched associations, if partial objects are not allowed.
|
||||
|
Loading…
x
Reference in New Issue
Block a user