doctrine/mongodb-odm — pull request #586 by dmitry-vinogradov (2013-05-22 09:31:43+00:00)
Title: Remove leading backslashes from $documentName in DocumentManager::getRepository() to prevent MappingException on getting repository by absolute class name

DocumentManager::getRepository() does not strip leading backslash from the given document's class name like ORM's EntityManager::getRepository() does, so getting repository by class name only works if given class name has no leading backslash, otherwise MappingException is thrown.