/** * {@inheritdoc} */ protected function cleanup() { $eagerLoad = isset($this->_hints[UnitOfWork::HINT_DEFEREAGERLOAD]) && $this->_hints[UnitOfWork::HINT_DEFEREAGERLOAD] == true; parent::cleanup(); $this->identifierMap = $this->initializedCollections = $this->existingCollections = $this->resultPointers = array(); if ($eagerLoad) { $this->_uow->triggerEagerLoads(); } $this->_uow->hydrationComplete(); }
/** * {@inheritdoc} */ protected function cleanup() { parent::cleanup(); $this->_uow->triggerEagerLoads(); $this->_uow->hydrationComplete(); }
/** * {@inheritdoc} */ protected function cleanup() { $eagerLoad = isset($this->_hints[UnitOfWork::HINT_DEFEREAGERLOAD]) && $this->_hints[UnitOfWork::HINT_DEFEREAGERLOAD] == true; parent::cleanup(); $this->identifierMap = $this->initializedCollections = $this->existingCollections = $this->resultPointers = array(); unset($this->postHydrateEventDispatcher); if ($eagerLoad) { $this->_em->getUnitOfWork()->triggerEagerLoads(); } }
/** * {@inheritdoc} */ protected function cleanup() { $eagerLoad = isset($this->_hints['deferEagerLoad']) && $this->_hints['deferEagerLoad'] == true; parent::cleanup(); $this->_identifierMap = $this->_initializedCollections = $this->_existingCollections = $this->_resultPointers = array(); if ($eagerLoad) { $this->_em->getUnitOfWork()->triggerEagerLoads(); } }
/** * {@inheritdoc} */ protected function cleanup() { parent::cleanup(); $this->_identifierMap = $this->_resultPointers = array(); }