library/AMQP/Channel.php
public function basicCancel($consumerTag, $nowait = false)
    {
        $args = $this->frameBuilder->basicCancel($consumerTag, $nowait);
        $this->sendMethodFrame(array(60, 30), $args);
        return $this->wait(
            array(
                 "60,31" // Channel.basicCancelOk
            )
        );
    }
public function basicCancel($consumerTag, $nowait = false)
    {
        $args = $this->frameBuilder->basicCancel($consumerTag, $nowait);
        $this->sendMethodFrame(array(60, 30), $args);
        return $this->wait(
            array(
                 "60,31" // Channel.basicCancelOk
            )
        );
    }
public function basicCancel ( $ consumerTag , $ nowait = false ) { $ args = $ this -> frameBuilder -> basicCancel ( $ consumerTag , $ nowait ) ; $ this -> sendMethodFrame ( array ( 60 , 30 ) , $ args ) ; return $ this -> wait ( array ( "60,31" // Channel.basicCancelOk ) ) ; }
end a queue consumer

@param      $consumerTag
@param bool $nowait

@return mixed|null
end a queue consumer