PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

AMQPChannel::__construct

(PECL amqp >= Unknown)

AMQPChannel::__constructCreate an instance of an AMQPChannel object

Description

AMQPChannel::__construct ( AMQPConnection $amqp_connection )

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

Parameters

amqp_connection

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

Errors/Exceptions

Throws AMQPConnectionException if the connection to the broker was lost.

Return Values

An instance of AMQPChannel.

PHP Manual