Skip to content

Commit 15131cd

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: Fix polyfill-php73 requirement [CI] Fix package-tests workflow checks for contracts do not call preg_match() on null Fix UPGRADE files for framework.messenger.reset_on_message option [Messenger] [DI] Add auto-registration for BatchHandlerInterface Remove duplicated entry in UPGRADE-6.0.md Handle alias in completion script
2 parents a871a08 + 4e67931 commit 15131cd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

DependencyInjection/FrameworkExtension.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
use Symfony\Component\Messenger\Bridge\Amqp\Transport\AmqpTransportFactory;
102102
use Symfony\Component\Messenger\Bridge\Beanstalkd\Transport\BeanstalkdTransportFactory;
103103
use Symfony\Component\Messenger\Bridge\Redis\Transport\RedisTransportFactory;
104+
use Symfony\Component\Messenger\Handler\BatchHandlerInterface;
104105
use Symfony\Component\Messenger\Handler\MessageHandlerInterface;
105106
use Symfony\Component\Messenger\MessageBus;
106107
use Symfony\Component\Messenger\MessageBusInterface;
@@ -569,6 +570,8 @@ public function load(array $configs, ContainerBuilder $container)
569570
->addTag('validator.initializer');
570571
$container->registerForAutoconfiguration(MessageHandlerInterface::class)
571572
->addTag('messenger.message_handler');
573+
$container->registerForAutoconfiguration(BatchHandlerInterface::class)
574+
->addTag('messenger.message_handler');
572575
$container->registerForAutoconfiguration(TransportFactoryInterface::class)
573576
->addTag('messenger.transport_factory');
574577
$container->registerForAutoconfiguration(MimeTypeGuesserInterface::class)

0 commit comments

Comments
 (0)