public function ack()
    {
        $this->checkChannel();

        $outputFrame = BasicAckFrame::create($this->tag);
        $outputFrame->frameChannelId = $this->channel->getId();

        $this->channel->getConnection()->command($outputFrame);
    }
public function ack()
    {
        $this->checkChannel();

        $outputFrame = BasicAckFrame::create($this->tag);
        $outputFrame->frameChannelId = $this->channel->getId();

        $this->channel->getConnection()->command($outputFrame);
    }
public function ack ( ) { $ this -> checkChannel ( ) ; $ outputFrame = BasicAckFrame :: create ( $ this -> tag ) ; $ outputFrame -> frameChannelId = $ this -> channel -> getId ( ) ; $ this -> channel -> getConnection ( ) -> command ( $ outputFrame ) ; }
Acknowledge the message.

@throws \InvalidArgumentException
@throws \PHPDaemon\Clients\AMQP\Driver\Protocol\Exception\AMQPProtocolException
@throws \PHPDaemon\Clients\AMQP\Driver\Exception\AMQPMessageException
Acknowledge the message .