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();
|
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.
|
* Initializes a new UnitOfWork instance, bound to the given EntityManager.
|
||||||
*
|
*
|
||||||
@ -1900,7 +1893,8 @@ class UnitOfWork implements PropertyChangedListener
|
|||||||
$class->reflFields[$field]->setValue($entity, $value);
|
$class->reflFields[$field]->setValue($entity, $value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Loading the entity right here, if its in the eager loading map get rid of it there.
|
||||||
unset($this->eagerLoadingEntities[$class->name][$idHash]);
|
unset($this->eagerLoadingEntities[$class->name][$idHash]);
|
||||||
|
|
||||||
// Properly initialize any unfetched associations, if partial objects are not allowed.
|
// Properly initialize any unfetched associations, if partial objects are not allowed.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user