Beispiel #1
0
 /**
  * {@inheritdoc}
  */
 protected function _cleanup()
 {
     parent::_cleanup();
     $this->_identifierMap = $this->_initializedCollections = $this->_existingCollections = $this->_resultPointers = array();
 }
 /**
  * {@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();
     }
 }