clear() публичный Метод

Clears the EntityManager. All entities that are currently managed by this EntityManager become detached.
public clear ( string $entityName = null )
$entityName string
Пример #1
0
 /**
  * Clears the repository, causing all managed entities to become detached.
  */
 public function clear()
 {
     $this->xem->clear($this->class->rootXmlEntityName);
 }