W3cubDocs

/Symfony 4.1

MessengerPass

class MessengerPass implements CompilerPassInterface

Traits

PriorityTaggedServiceTrait Trait that allows a generic method to find and sort service by priority option in the tag.

Methods

__construct(string $handlerTag = 'messenger.message_handler', string $busTag = 'messenger.bus', string $senderTag = 'messenger.sender', string $receiverTag = 'messenger.receiver')
process(ContainerBuilder $container)

You can modify the container here before it is dumped to PHP code.

Details

__construct(string $handlerTag = 'messenger.message_handler', string $busTag = 'messenger.bus', string $senderTag = 'messenger.sender', string $receiverTag = 'messenger.receiver')

Parameters

string $handlerTag
string $busTag
string $senderTag
string $receiverTag

process(ContainerBuilder $container)

You can modify the container here before it is dumped to PHP code.

Parameters

ContainerBuilder $container

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Messenger/DependencyInjection/MessengerPass.html