src/LosBase/Document/DocumentManagerAwareTrait.php
public function getDocumentManager()
    {
        if (null === $this->dm) {
            $this->dm = $this->getServiceLocator()->get('doctrine.documentmanager.odm_default');
        }

        return $this->dm;
    }
public function getDocumentManager()
    {
        if (null === $this->dm) {
            $this->dm = $this->getServiceLocator()->get('doctrine.documentmanager.odm_default');
        }

        return $this->dm;
    }
public function getDocumentManager ( ) { if ( null === $ this -> dm ) { $ this -> dm = $ this -> getServiceLocator ( ) -> get ( 'doctrine.documentmanager.odm_default' ) ; } return $ this -> dm ; }
Retorna o DocumentManager.

@return \Doctrine\ODM\MongoDb\DocumentManager
Retorna o DocumentManager .