src/Connection.php
public function close()
    {
        if (isset($this->channel))
            $this->channel->close();
        if (isset($this->AMQPConnection))
            $this->AMQPConnection->close();
    }
public function close()
    {
        if (isset($this->channel))
            $this->channel->close();
        if (isset($this->AMQPConnection))
            $this->AMQPConnection->close();
    }
public function close ( ) { if ( isset ( $ this -> channel ) ) $ this -> channel -> close ( ) ; if ( isset ( $ this -> AMQPConnection ) ) $ this -> AMQPConnection -> close ( ) ; }
Close the connection with the RabbitMQ server

@return void
Close the connection with the RabbitMQ server