public function process(ContainerBuilder
$container) { if (!
$this->
enabled($container)) { return;
} $mappingDriverDef =
$this->
getDriver($container);
$chainDriverDefService =
$this->
getChainDriverServiceName($container);
// Definition for a Doctrine\Persistence\Mapping\Driver\MappingDriverChain
$chainDriverDef =
$container->
getDefinition($chainDriverDefService);
foreach ($this->namespaces
as $namespace) { $chainDriverDef->
addMethodCall('addDriver',
[$mappingDriverDef,
$namespace]);
} if (!\
count($this->aliasMap
)) { return;
} $configurationServiceName =
$this->
getConfigurationServiceName($container);