for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Jellyfish\Event;
class Event implements EventInterface
{
/**
* @var string
*/
protected $name;
* @var int
protected $retries;
* @var object
protected $payload;
* @return string
public function getName(): string
return $this->name;
}
* @param string $name
*
* @return \Jellyfish\Event\EventInterface
public function setName(string $name): EventInterface
$this->name = $name;
return $this;
* @return int
public function getRetries(): int
return $this->retries;
* @param int $retries
public function setRetries(int $retries): EventInterface
$this->retries = $retries;
* @return object
public function getPayload(): object
return $this->payload;
* @param object $payload
public function setPayload(object $payload): EventInterface
$this->payload = $payload;