for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Happyr\SimpleBusBundle\Message\Command;
use JMS\Serializer\Annotation as Serializer;
use Happyr\SimpleBusBundle\Message\DelayedMessage;
class Ping implements DelayedMessage
{
/**
* @var mixed
* @Serializer\Type("string")
*/
private $data;
* @param $data
public function __construct($data)
$this->data = $data;
}
* @return mixed
public function getData()
return $this->data;
public function getDelayedTime()
return 2000;