Permalink
Browse files

Version18

A long with commands, I've identified an event. This would ordinarily be
done through some kind of event storming session with the client.
  • Loading branch information...
jenkoian committed Jan 19, 2015
1 parent 60f9b70 commit e4ace656623d57cb78b6c8e5dc9b870b33ef4186
Showing with 19 additions and 0 deletions.
  1. +19 −0 src/Jenko/House/Event/EnteredRoomEvent.php
@@ -0,0 +1,19 @@
<?php
namespace Jenko\House\Event;
class EnteredRoomEvent
{
public $roomName;
public $enteredOn;
/**
* @param $roomName
* @param \DateTime $enteredAt
*/
public function __construct($roomName, \DateTime $enteredAt = null)
{
$this->roomName = $roomName;
$this->enteredAt = $enteredAt ? $enteredAt : new \DateTime();
}
}

0 comments on commit e4ace65

Please sign in to comment.