protected function setup(\AMQPQueue $queue)
    {
        $queue->declareQueue();

        foreach ($this->binds as $exchange => $params) {
            $queue->bind($exchange, $params['routing_key'], $params['arguments']);
        }
    }
protected function setup(\AMQPQueue $queue)
    {
        $queue->declareQueue();

        foreach ($this->binds as $exchange => $params) {
            $queue->bind($exchange, $params['routing_key'], $params['arguments']);
        }
    }
protected function setup ( \ AMQPQueue $ queue ) { $ queue -> declareQueue ( ) ; foreach ( $ this -> binds as $ exchange => $ params ) { $ queue -> bind ( $ exchange , $ params [ 'routing_key' ] , $ params [ 'arguments' ] ) ; } }
Setup a queue inside a AMQP server.
This will declare the queue and it's bindings

@param \AMQPQueue $queue
Setup a queue inside a AMQP server . This will declare the queue and it s bindings