public function ack($deliveryTag, array $options = [])
    {
        $multiple = array_key_exists('multiple', $options) ? (int)$options['multiple'] : null;

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

        $outputFrame = Basic\BasicAckFrame::create($deliveryTag, $multiple);
        $outputFrame->frameChannelId = $this->id;
        $this->connection->command($outputFrame);
    }
public function ack ( $ deliveryTag , array $ options = [ ] ) { $ multiple = array_key_exists ( 'multiple' , $ options ) ? ( int ) $ options [ 'multiple' ] : null ; $ outputFrame = Basic \ BasicAckFrame :: create ( $ deliveryTag , $ multiple ) ; $ outputFrame -> frameChannelId = $ this -> id ; $ this -> connection -> command ( $ outputFrame ) ; }
Ack message by delivery tag

@param int $deliveryTag
@param array $options
@throws \InvalidArgumentException
@throws \PHPDaemon\Clients\AMQP\Driver\Protocol\Exception\AMQPProtocolException
Ack message by delivery tag