Doctrine/Bridge.php
public function getEntityManager()
    {
        if ($this->em === null) {
            $this->setEntityManager($this->container->get('doctrine')->getManager($this->emName));
        }

        return $this->em;
    }
public function getEntityManager()
    {
        if ($this->em === null) {
            $this->setEntityManager($this->container->get('doctrine')->getManager($this->emName));
        }

        return $this->em;
    }
public function getEntityManager ( ) { if ( $ this -> em === null ) { $ this -> setEntityManager ( $ this -> container -> get ( 'doctrine' ) -> getManager ( $ this -> emName ) ) ; } return $ this -> em ; }
Get an EntityManager
@return EntityManager
Get an EntityManager