diff --git a/lib/Doctrine/ORM/Configuration.php b/lib/Doctrine/ORM/Configuration.php index 0bc206d27..999d0c84c 100644 --- a/lib/Doctrine/ORM/Configuration.php +++ b/lib/Doctrine/ORM/Configuration.php @@ -163,6 +163,16 @@ class Configuration extends \Doctrine\DBAL\Configuration { $this->_attributes['entityNamespaces'] = $entityNamespaces; } + + /** + * Retrieves the list of registered entity namespace aliases. + * + * @return array + */ + public function getEntityNamespaces() + { + return $this->_attributes['entityNamespaces']; + } /** * Gets the cache driver implementation that is used for the mapping metadata.