diff --git a/src/Event/Event.php b/src/Event/Event.php index 3e97f5e..72e0ef9 100644 --- a/src/Event/Event.php +++ b/src/Event/Event.php @@ -28,4 +28,28 @@ public function setResponse(Entity $entity) * check event options is valid. */ abstract public function isValid(); + + /** + * get event content. + */ + public function getContent() + { + return $this['Content']; + } + + /** + * get event Initiator. + */ + public function getFromUser() + { + return $this['FromUserName']; + } + + /** + * get event recipient. + */ + public function getToUser() + { + return $this['ToUserName']; + } }