Skip to content

Commit

Permalink
Merge pull request #23 from lchrusciel/symfony-driver
Browse files Browse the repository at this point in the history
Add support for symfony driver
  • Loading branch information
pamil authored Feb 14, 2018
2 parents 61b77f0 + 10b2647 commit db61931
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/ServiceContainer/SymfonyExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,11 @@ private function declareSymfonyContainers(ContainerBuilder $container): void
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))
Expand Down

0 comments on commit db61931

Please sign in to comment.