Doctrine\OXM\XmlEntityManager::close PHP Метод

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

Closes the EntityManager. All entities that are currently managed by this EntityManager become detached. The EntityManager may no longer be used after it is closed.
public close ( )
    public function close()
    {
        $this->clear();
        $this->closed = true;
    }