W3cubDocs

/Symfony 4.1

AmqpSender

class AmqpSender implements SenderInterface

Symfony Messenger sender to send messages to AMQP brokers using PHP's AMQP extension.

Methods

__construct(EncoderInterface $encoder, Connection $connection)
send(Envelope $envelope)

Sends the given envelope.

Details

__construct(EncoderInterface $encoder, Connection $connection)

Parameters

EncoderInterface $encoder
Connection $connection

send(Envelope $envelope)

Sends the given envelope.

Parameters

Envelope $envelope

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