[DoctrineBundle] added the possibility to disable a bundle when using auto_mapping
orm: auto_mapping: true mappings: FOSUserBundle: false
This commit is contained in:
parent
c752429d7c
commit
c846990459
|
@ -52,6 +52,10 @@ abstract class AbstractDoctrineExtension extends Extension
|
|||
}
|
||||
|
||||
foreach ($objectManager['mappings'] as $mappingName => $mappingConfig) {
|
||||
if (false === $mappingConfig) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$mappingConfig = array_replace(array(
|
||||
'dir' => false,
|
||||
'type' => false,
|
||||
|
|
Reference in New Issue