AMQPQueue
在线手册:中文 英文
PHP手册

AMQPQueue::__construct

(PECL amqp >= Unknown)

AMQPQueue::__constructCreate an instance of an AMQPQueue object

说明

public AMQPQueue::__construct ( AMQPConnection $amqp_connection )

Creates an AMQPQueue instance representing an AMQP queue on the broker.

参数

错误/异常

Throws AMQPQueueException when amqp_channel is not connected to a broker.

Throws AMQPConnectionException if the connection to the broker was lost.

返回值

Returns an instance of AMQPQueue on success.


AMQPQueue
在线手册:中文 英文
PHP手册
PHP手册 - N: Create an instance of an AMQPQueue object

用户评论:

redbaron (09-Apr-2012 08:37)

please change documentation, because declaration:

public AMQPQueue::__construct ( AMQPConnection $amqp_connection )

is wrong. Should be
public AMQPQueue::__construct ( AMQPChannel $amqp_channel )