Skip to content

Commit 6de7d6f

Browse files
committed
Pluralize the command service name
1 parent 30d9af9 commit 6de7d6f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ public function load(array $configs, ContainerBuilder $container)
271271
if ($this->isConfigEnabled($container, $config['messenger'])) {
272272
$this->registerMessengerConfiguration($config['messenger'], $container, $loader);
273273
} else {
274-
$container->removeDefinition('console.command.messenger_consume');
274+
$container->removeDefinition('console.command.messenger_consume_messages');
275275
}
276276

277277
if ($this->isConfigEnabled($container, $config['web_link'])) {

src/Symfony/Bundle/FrameworkBundle/Resources/config/console.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
<tag name="console.command" command="debug:event-dispatcher" />
7070
</service>
7171

72-
<service id="console.command.messenger_consume_message" class="Symfony\Bundle\FrameworkBundle\Command\MessengerConsumeMessagesCommand">
72+
<service id="console.command.messenger_consume_messages" class="Symfony\Bundle\FrameworkBundle\Command\MessengerConsumeMessagesCommand">
7373
<argument type="service" id="message_bus" />
7474
<argument type="service" id="messenger.receiver_locator" />
7575

0 commit comments

Comments
 (0)