1 | <?php |
||
7 | class Notifiable |
||
8 | { |
||
9 | use NotifiableTrait; |
||
10 | |||
11 | /** @var \Spatie\ServerMonitor\Events\Event */ |
||
12 | protected $event; |
||
13 | |||
14 | public function routeNotificationForMail(): ?array |
||
24 | |||
25 | public function routeNotificationForSlack(): ?string |
||
29 | |||
30 | public function getKey(): string |
||
34 | |||
35 | /** |
||
36 | * Get the event for the notification. |
||
37 | * |
||
38 | * @return \Spatie\ServerMonitor\Events\Event |
||
39 | */ |
||
40 | public function getEvent(): \Spatie\ServerMonitor\Events\Event |
||
44 | |||
45 | /** |
||
46 | * Set the event for the notification. |
||
47 | * |
||
48 | * @param \Spatie\ServerMonitor\Events\Event $event |
||
49 | * |
||
50 | * @return Notifiable |
||
51 | */ |
||
52 | public function setEvent(\Spatie\ServerMonitor\Events\Event $event): self |
||
58 | } |
||
59 |