public function unbindQueue($name, $exchangeName, $routingKey, callable $callback = null)
    {
        $outputFrame = Queue\QueueUnbindFrame::create(
            $name,
            $exchangeName,
            $routingKey
        );
        $outputFrame->frameChannelId = $this->id;
        $this->connection->command($outputFrame);

        if (is_callable($callback)) {
            $this->on(self::EVENT_ON_CHANNEL_UNBIND_QUEUE_CALLBACK, $callback);
        }
    }
public function unbindQueue($name, $exchangeName, $routingKey, callable $callback = null)
    {
        $outputFrame = Queue\QueueUnbindFrame::create(
            $name,
            $exchangeName,
            $routingKey
        );
        $outputFrame->frameChannelId = $this->id;
        $this->connection->command($outputFrame);

        if (is_callable($callback)) {
            $this->on(self::EVENT_ON_CHANNEL_UNBIND_QUEUE_CALLBACK, $callback);
        }
    }
public function unbindQueue ( $ name , $ exchangeName , $ routingKey , callable $ callback = null ) { $ outputFrame = Queue \ QueueUnbindFrame :: create ( $ name , $ exchangeName , $ routingKey ) ; $ outputFrame -> frameChannelId = $ this -> id ; $ this -> connection -> command ( $ outputFrame ) ; if ( is_callable ( $ callback ) ) { $ this -> on ( self :: EVENT_ON_CHANNEL_UNBIND_QUEUE_CALLBACK , $ callback ) ; } }
Unbind queue from exchange

@param string $name a queue name
@param string $exchangeName a exchange name
@param string $routingKey a routing key
@param callable|null $callback
@throws \InvalidArgumentException
@throws \PHPDaemon\Clients\AMQP\Driver\Protocol\Exception\AMQPProtocolException
Unbind queue from exchange