Created
August 10, 2010 10:23
-
-
Save ornicar/517046 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Controller extends BaseController | |
{ | |
/** | |
* Get the Doctrine Document Manager | |
* @return Doctrine\ODM\MongoDB\DocumentManager | |
*/ | |
protected function getODM() | |
{ | |
return $this->container->getService("doctrine.odm.mongodb.document_manager"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment