mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 22:46:16 +00:00
Merge (#127)
This commit is contained in:
18
app/Notifications/NotificationInterface.php
Normal file
18
app/Notifications/NotificationInterface.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Notifications;
|
||||
|
||||
use Illuminate\Notifications\Messages\MailMessage;
|
||||
|
||||
interface NotificationInterface
|
||||
{
|
||||
public function rawText(): string;
|
||||
|
||||
public function toEmail(object $notifiable): MailMessage;
|
||||
|
||||
public function toSlack(object $notifiable): string;
|
||||
|
||||
public function toDiscord(object $notifiable): string;
|
||||
|
||||
public function toTelegram(object $notifiable): string;
|
||||
}
|
Reference in New Issue
Block a user