54 parent::__construct($connection);
55 $this->source = new \Erebot\Identity(
$source);
$source
Source the event originated from.
$connection
Connection the event originated from.
__construct(\Erebot\Interfaces\Connection $connection, $source, $target)
$target
Target of the event (usually the bot).
Interface for an event which has a source.
An abstract Event with a source and a target.
Interface for an event which has a target.