public function commit(QueueItem $item)
    {
        $this->client->deleteMessage([
            'QueueUrl' => $this->url,
            'ReceiptHandle' => $item->getReceipt(),
        ]);
    }
public function commit(QueueItem $item)
    {
        $this->client->deleteMessage([
            'QueueUrl' => $this->url,
            'ReceiptHandle' => $item->getReceipt(),
        ]);
    }
public function commit ( QueueItem $ item ) { $ this -> client -> deleteMessage ( [ 'QueueUrl' => $ this -> url , 'ReceiptHandle' => $ item -> getReceipt ( ) , ] ) ; }
Commits to removing item from queue, marks item as done and processed.
Commits to removing item from queue marks item as done and processed .