AMQPChannel::close PHP Method

close() public method

Closes the channel.
public close ( )
    public function close()
    {
    }

Usage Example

コード例 #1
0
 /**
  * Close the channel and connections to AMQP
  *
  * @return void
  */
 public function closeConnections()
 {
     if ($this->channel) {
         $this->channel->close();
     }
     if ($this->connection) {
         $this->connection->close();
     }
 }
All Usage Examples Of AMQPChannel::close