vito/app/NotificationChannels/NotificationChannel.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
396 B
PHP

<?php
namespace App\NotificationChannels;
use App\Notifications\NotificationInterface;
interface NotificationChannel
{
public function createRules(array $input): array;
public function createData(array $input): array;
public function data(): array;
public function connect(): bool;
public function send(object $notifiable, NotificationInterface $notification): void;
}