class AmqpSender implements SenderInterface

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

Methods

__construct(Connection $connection, SerializerInterface $serializer = null)

No description

send(Envelope $envelope)

Sends the given envelope.

Details

__construct(Connection $connection, SerializerInterface $serializer = null)

Parameters

Connection $connection
SerializerInterface $serializer

Envelope send(Envelope $envelope)

Sends the given envelope.

Parameters

Envelope $envelope

Return Value

Envelope