mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-22 11:12:20 +00:00
19 lines
393 B
PHP
19 lines
393 B
PHP
<?php
|
|
|
|
namespace App\Contracts;
|
|
|
|
use Illuminate\Notifications\Messages\MailMessage;
|
|
|
|
interface Notification
|
|
{
|
|
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;
|
|
}
|