示例#1
0
 /**
  * Detaches an entity from the EntityManager. Its lifecycle is no longer managed.
  *
  * @param object $entity The entity to detach.
  * @return boolean
  */
 public function detach($entity)
 {
     return $this->_unitOfWork->removeFromIdentityMap($entity);
 }