Doctrine\ORM\EntityManager::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.
Signature
public function close()
public function close()