diff --git a/DependencyInjection/DoctrineExtension.php b/DependencyInjection/DoctrineExtension.php index c991c69be..f2a893596 100644 --- a/DependencyInjection/DoctrineExtension.php +++ b/DependencyInjection/DoctrineExtension.php @@ -863,6 +863,11 @@ public function getConfiguration(array $config, ContainerBuilder $container) : C return new Configuration($container->getParameter('kernel.debug')); } + protected function getMetadataDriverClass(string $driverType): string + { + return '%'.$this->getObjectManagerElementName('metadata.'.$driverType.'.class%'); + } + private function loadMessengerServices(ContainerBuilder $container) : void { // If the Messenger component is installed and the doctrine transaction middleware is available, wire it: