AMQPChannel
PHP Manual

AMQPChannel::__construct

(PECL amqp >= Unknown)

AMQPChannel::__constructCreate an instance of an AMQPChannel object

说明

AMQPChannel::__construct ( AMQPConnection $amqp_connection )

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

参数

amqp_connection

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

错误/异常

Throws AMQPConnectionException if the connection to the broker was lost.

返回值

An instance of AMQPChannel.


AMQPChannel
PHP Manual