Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #430 from ludofleury/configuration-namespaces

Add getDocumentNamespaces method to the Configuration
  • Loading branch information...
commit 3f6779f5abaf5ee2d278e40d930e90d714074aae 2 parents dc8c322 + 9521288
Jeremy Mikola jmikola authored
Showing with 10 additions and 0 deletions.
  1. +10 −0 lib/Doctrine/ODM/MongoDB/Configuration.php
10 lib/Doctrine/ODM/MongoDB/Configuration.php
View
@@ -67,6 +67,16 @@ public function getDocumentNamespace($documentNamespaceAlias)
}
/**
+ * Retrieves the list of registered document namespace aliases.
+ *
+ * @return array
+ */
+ public function getDocumentNamespaces()
+ {
+ return $this->attributes['documentNamespaces'];
+ }
+
+ /**
* Set the document alias map
*
* @param array $documentAliasMap
Please sign in to comment.
Something went wrong with that request. Please try again.