AMQPChannel
PHP Manual

AMQPChannel::__construct

(PECL amqp >= Unknown)

AMQPChannel::__constructCreate an instance of an AMQPChannel object

Descrição

AMQPChannel::__construct ( AMQPConnection $amqp_connection )

Creates an AMQPChannel instance representing a channel on the given connection.

Parâmetros

amqp_connection

A instance of AMQPConnection with an active connection to a broker.

Erros

Throws AMQPConnectionException if the connection to the broker was lost.

Valor Retornado

An instance of AMQPChannel.


AMQPChannel
PHP Manual