Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 292021b

Browse files
committed
[Messenger] Fixed DIC config when the messenger is not installed
1 parent 8977f74 commit 292021b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ public function load(array $configs, ContainerBuilder $container)
280280
} else {
281281
$container->removeDefinition('console.command.messenger_consume_messages');
282282
$container->removeDefinition('console.command.messenger_debug');
283+
$container->removeDefinition('console.command.messenger_stop_workers');
283284
$container->removeDefinition('console.command.messenger_setup_transports');
284285
}
285286

0 commit comments

Comments
 (0)