for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Eole\Sandstone\Tests\Integration\App;
use Symfony\Component\EventDispatcher\Event;
class ArticleCreatedEvent extends Event
{
/**
* @var string
*/
const ARTICLE_CREATED_EVENT = 'article.created';
* @var int
private $id;
private $title;
private $url;
* @param int $id
* @param string $title
* @param string $url
public function __construct($id, $title, $url)
$this->id = $id;
$this->title = $title;
$this->url = $url;
}
* @return int
public function getId()
return $this->id;
*
* @return self
public function setId($id)
return $this;
* @return string
public function getTitle()
return $this->title;
public function setTitle($title)
public function getUrl()
return $this->url;
public function setUrl($url)