Merge pull request #23 from lchrusciel/symfony-driver

Add support for symfony driver
This commit is contained in:
Kamil Kokot
2018-02-14 15:18:16 +01:00
committed by GitHub

View File

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