diff options
| author | winter | 2025-01-19 22:17:12 +0000 |
|---|---|---|
| committer | winter | 2025-01-19 22:17:12 +0000 |
| commit | 8c6dad8c48d5d730b102d9de0079fee9752b0d35 (patch) | |
| tree | 2cfe07a8c7958f78c767fd0d1444c3f8fef70511 /Digitigrade/Notification/Notifyable.php | |
| parent | 2d9bd87fb1c565ee161f93219ce2533e8dbffe06 (diff) | |
implement notifications
Diffstat (limited to 'Digitigrade/Notification/Notifyable.php')
| -rw-r--r-- | Digitigrade/Notification/Notifyable.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Digitigrade/Notification/Notifyable.php b/Digitigrade/Notification/Notifyable.php new file mode 100644 index 0000000..510437e --- /dev/null +++ b/Digitigrade/Notification/Notifyable.php @@ -0,0 +1,12 @@ +<?php +namespace Digitigrade\Notification; + +interface Notifyable { + public function toJsonReference(): mixed; + public static function fromJsonReference(mixed $reference): self; + public function getNotificationTitle(): string; + public function getNotificationTitleLink(): ?string; + public function getNotificationBody(): ?string; + public function getNotificationImageUrl(): ?string; + public function getNotificationImageLink(): ?string; +}
\ No newline at end of file |
