Add support for symfony driver

This commit is contained in:
Łukasz Chruściel
2018-02-14 14:56:24 +01:00
parent 61b77f09ba
commit 10b26478ff

View File

@@ -212,6 +212,11 @@ final class SymfonyExtension implements Extension
new KernelBasedContainerAccessor($container->get(self::KERNEL_ID))
);
$this->crossContainerProcessor->addContainerAccessor(
'symfony_driver',
new KernelBasedContainerAccessor($container->get(self::DRIVER_KERNEL_ID))
);
$this->crossContainerProcessor->addContainerAccessor(
'symfony_shared',
new KernelBasedContainerAccessor($container->get(self::SHARED_KERNEL_ID))