public function declareAndBindQueue($exchange, $queueName, $routingKey = '')
    {
        $this->declareSimpleQueue($queueName);
        $this->bindQueue($exchange, $queueName, $routingKey);
    }
public function declareAndBindQueue($exchange, $queueName, $routingKey = '')
    {
        $this->declareSimpleQueue($queueName);
        $this->bindQueue($exchange, $queueName, $routingKey);
    }
public function declareAndBindQueue ( $ exchange , $ queueName , $ routingKey = '' ) { $ this -> declareSimpleQueue ( $ queueName ) ; $ this -> bindQueue ( $ exchange , $ queueName , $ routingKey ) ; }
Create a persisting queue and bind it to an exchange

@param  string $exchange
@param  string $queueName
@param  string $routingKey

@return void

@throws \AMQPConnectionException
@throws \AMQPChannelException
@throws \AMQPQueueException
Create a persisting queue and bind it to an exchange