public function reject($deliveryTag, array $options = [])
    {
        $requeue = array_key_exists('requeue', $options) ? $options['requeue'] : null;

        $outputFrame = Basic\BasicRejectFrame::create($deliveryTag, $requeue);
        $outputFrame->frameChannelId = $this->id;
        $this->connection->command($outputFrame);
    }
public function reject($deliveryTag, array $options = [])
    {
        $requeue = array_key_exists('requeue', $options) ? $options['requeue'] : null;

        $outputFrame = Basic\BasicRejectFrame::create($deliveryTag, $requeue);
        $outputFrame->frameChannelId = $this->id;
        $this->connection->command($outputFrame);
    }
public function reject ( $ deliveryTag , array $ options = [ ] ) { $ requeue = array_key_exists ( 'requeue' , $ options ) ? $ options [ 'requeue' ] : null ; $ outputFrame = Basic \ BasicRejectFrame :: create ( $ deliveryTag , $ requeue ) ; $ outputFrame -> frameChannelId = $ this -> id ; $ this -> connection -> command ( $ outputFrame ) ; }
Reject a message

@param $deliveryTag
@param array $options
@throws \InvalidArgumentException
@throws \PHPDaemon\Clients\AMQP\Driver\Protocol\Exception\AMQPProtocolException
Reject a message