mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-21 19:01:37 +00:00
- refactoring architecture - fix incomplete ssh logs - code editor for scripts in the app - remove Jobs and SSHCommands
19 lines
406 B
PHP
19 lines
406 B
PHP
<?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;
|
|
}
|