vito/app/Notifications/NotificationInterface.php
Saeed Vaziry 428140b931
refactoring (#116)
- refactoring architecture
- fix incomplete ssh logs
- code editor for scripts in the app
- remove Jobs and SSHCommands
2024-03-14 20:03:43 +01:00

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;
}