for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SmartboxSkeletonBundle\Entity;
use Smartbox\CoreBundle\Type\SerializableInterface;
use Smartbox\CoreBundle\Type\Entity;
use JMS\Serializer\Annotation as JMS;
/**
* Class PingMessage
* @package SmartboxSkeletonBundle\Entity
*/
class PingMessage extends Entity implements SerializableInterface
{
* @JMS\Type("string")
* @JMS\Expose
* @JMS\Groups({"logs"})
*
* @var string
private $message;
private $timestamp;
* @return string
public function getMessage()
return $this->message;
}
* @param string $message
public function setMessage($message)
$this->message = $message;
public function getTimestamp()
return $this->timestamp;
* @param string $timestamp
public function setTimestamp($timestamp)
$this->timestamp = $timestamp;