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