Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 345 Bytes

closed.md

File metadata and controls

10 lines (9 loc) · 345 Bytes

The EntityManager is closed

	if (!$this->entityManager->isOpen()) {
        $this->entityManager = $this->entityManager->create(
            $this->entityManager->getConnection(),
            $this->entityManager->getConfiguration()
        );
    }
    //reset em
    $em = $this->getDoctrine()->resetManager();