for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace JimmyOak\Event;
abstract class Event
{
/**
* @var \DateTime
*/
private $occurredOn;
public function __construct()
$this->occurredOn = new \DateTime();
}
* @return \DateTime
public function getOccurredOn()
return $this->occurredOn;