diff options
Diffstat (limited to 'matrix-specification/Events/SenderEvent.php')
-rw-r--r-- | matrix-specification/Events/SenderEvent.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/matrix-specification/Events/SenderEvent.php b/matrix-specification/Events/SenderEvent.php new file mode 100644 index 0000000..f3d4ceb --- /dev/null +++ b/matrix-specification/Events/SenderEvent.php @@ -0,0 +1,20 @@ +<?php + +namespace Matrix\Events; + +use Matrix\Enums\EventType; + +abstract class SenderEvent extends Event +{ + /** + * @param array<string, mixed> $content + */ + public function __construct( + array $content, + protected string $sender, + EventType $type, + ) + { + parent::__construct($content, $type); + } +} |