Added method to allow retrieve all registered entity namespace aliases.
This commit is contained in:
parent
fe66d8bc04
commit
19dfe7b891
1 changed files with 10 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue