コード例 #1
0
 /**
  * {@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();
 }
コード例 #2
0
 /**
  * {@inheritdoc}
  */
 protected function cleanup()
 {
     parent::cleanup();
     $this->_uow->triggerEagerLoads();
     $this->_uow->hydrationComplete();
 }
コード例 #3
0
 /**
  * {@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();
     }
 }
コード例 #4
0
ファイル: ObjectHydrator.php プロジェクト: ncking/doctrine2
 /**
  * {@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();
     }
 }
コード例 #5
0
 /**
  * {@inheritdoc}
  */
 protected function cleanup()
 {
     parent::cleanup();
     $this->_identifierMap = $this->_resultPointers = array();
 }