for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace DoS\QueueBundle\Model;
use DoS\ResourceBundle\Model\TimestampableTrait;
class QueueMessage implements QueueMessageInterface
{
use TimestampableTrait;
/**
* @var int
*/
protected $id;
* @var string
protected $name;
* @var array
protected $body = array();
* @var \DateTime
protected $receivedAt;
* {@inheritdoc}
public function getId()
return $this->id;
}
* @return string
public function getName()
return $this->name;
* @param string $name
public function setName($name)
$this->name = $name;
public function getBody()
return $this->body;
public function setBody(array $body)
$this->body = $body;
public function getReceivedAt()
return $this->receivedAt;
public function setReceivedAt(\DateTime $receivedAt)
$this->receivedAt = $receivedAt;