src/Provider/DoctrineProvider.php
public function delete($id)
    {
        $doctrineMessage = $this->repository->findById($id);
        $doctrineMessage->setDelivered(true);
        $this->em->flush();

        return true;
    }
public function delete($id)
    {
        $doctrineMessage = $this->repository->findById($id);
        $doctrineMessage->setDelivered(true);
        $this->em->flush();

        return true;
    }
public function delete ( $ id ) { $ doctrineMessage = $ this -> repository -> findById ( $ id ) ; $ doctrineMessage -> setDelivered ( true ) ; $ this -> em -> flush ( ) ; return true ; }
Deletes the Queue Message

@param mixed $id A message identifier or resource
Deletes the Queue Message