Doctrine\Bundle\DoctrineBundle\Registry::getEntityManager
Gets a named entity manager.
Signature
public function getEntityManager([string
$name = null] )
Parameters
$name
— string- The entity manager name (null for the default one)
Returns
- EntityManager