| 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 |
||
| 18 | |||
| 19 | public function routeNotificationForSlack(): ?string |
||
| 23 | |||
| 24 | public function getKey(): string |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Get the event for the notification. |
||
| 31 | * |
||
| 32 | * @return \Spatie\ServerMonitor\Events\Event |
||
| 33 | */ |
||
| 34 | public function getEvent(): \Spatie\ServerMonitor\Events\Event |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Set the event for the notification. |
||
| 41 | * |
||
| 42 | * @param \Spatie\ServerMonitor\Events\Event $event |
||
| 43 | * |
||
| 44 | * @return Notifiable |
||
| 45 | */ |
||
| 46 | public function setEvent(\Spatie\ServerMonitor\Events\Event $event): Notifiable |
||
| 52 | |||
| 53 | protected function explodeArray($mails): ?array |
||
| 60 | } |
||
| 61 |