diff options
Diffstat (limited to 'src/Events/Event.php')
| -rw-r--r-- | src/Events/Event.php | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/Events/Event.php b/src/Events/Event.php deleted file mode 100644 index 7dbf242..0000000 --- a/src/Events/Event.php +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -namespace App\Events; - -use App\Types\EventType; - -abstract class Event -{ - public function __construct( - protected EventType $type, - ) - {} - - abstract public function fromJson(string $json): self; - - /** - * @return array<string, mixed> - */ - abstract public function toJsonEncodeable(): array; -} |
