[DoctrineBundle] Removed array_reverse from DoctrineExtension so src/Application/SomeBundle/Entities/Entiy.php is favored over src/Bundle/SomeBundle/Entities/Entity.php
This commit is contained in:
parent
37dda2ba8b
commit
6d5f186728
@ -178,7 +178,7 @@ class DoctrineExtension extends LoaderExtension
|
||||
$bundleEntityMappings = array();
|
||||
$bundleDirs = $this->bundleDirs;
|
||||
$aliasMap = array();
|
||||
foreach (array_reverse($this->bundles) as $className) {
|
||||
foreach ($this->bundles as $className) {
|
||||
$tmp = dirname(str_replace('\\', '/', $className));
|
||||
$namespace = str_replace('/', '\\', dirname($tmp));
|
||||
$class = basename($tmp);
|
||||
|
Reference in New Issue
Block a user