private function resetCacheEntity()
    {
        if (null !== $this->_entity) {
            $this->_em->detach($this->_entity);
            $this->_entity = null;
        }
    }
private function resetCacheEntity()
    {
        if (null !== $this->_entity) {
            $this->_em->detach($this->_entity);
            $this->_entity = null;
        }
    }
private function resetCacheEntity ( ) { if ( null !== $ this -> _entity ) { $ this -> _em -> detach ( $ this -> _entity ) ; $ this -> _entity = null ; } }
Resets the last stored entity.

@codeCoverageIgnore
Resets the last stored entity .