for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Werkspot\MessageQueue\Message;
use Ramsey\Uuid\Uuid;
class UnRequeueableMessage implements UnRequeueableMessageInterface
{
/**
* @var string
*/
private $id;
* @var mixed
private $message;
private $reason;
public function __construct($message, string $reason = '')
$this->id = Uuid::uuid4()->toString();
$this->message = $message;
$this->reason = $reason;
}
public function getId(): string
return $this->id;
* @return mixed
public function getMessage()
return $this->message;
public function getReason(): string
return $this->reason;