AMQPExchange::__construct

(PECL amqp >= Unknown)

AMQPExchange::__constructCreate an instance of AMQPExchange

Beskrivelse

public AMQPExchange::__construct ( AMQPChannel $amqp_channel )

Returns a new instance of an AMQPExchange object, associated with the given AMQPChannel object.

Parametre

AMQPChannel

A valid AMQPChannel object, connected to a broker.

Returnerings Værdier

An AMQPExchange object.

Fejl/Undtagelser

Throws AMQPExchangeException when amqp_channel is not connected to a broker.

Throws AMQPConnectionException if the connection to the broker was lost.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top