#25 fix scenario isolation
This commit is contained in:
@@ -224,10 +224,12 @@ final class SymfonyExtension implements Extension
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param ContainerBuilder $container
|
* @param ContainerBuilder $container
|
||||||
|
*
|
||||||
|
* @throws \Exception
|
||||||
*/
|
*/
|
||||||
private function loadKernelRebooter(ContainerBuilder $container): void
|
private function loadKernelRebooter(ContainerBuilder $container): void
|
||||||
{
|
{
|
||||||
$definition = new Definition(KernelRebooter::class, [new Reference(self::KERNEL_ID)]);
|
$definition = new Definition(KernelRebooter::class, [$container->get(self::KERNEL_ID)]);
|
||||||
$definition->addTag(EventDispatcherExtension::SUBSCRIBER_TAG);
|
$definition->addTag(EventDispatcherExtension::SUBSCRIBER_TAG);
|
||||||
|
|
||||||
$container->setDefinition(self::KERNEL_ID . '.rebooter', $definition);
|
$container->setDefinition(self::KERNEL_ID . '.rebooter', $definition);
|
||||||
|
|||||||
Reference in New Issue
Block a user