mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-21 19:01:37 +00:00
* WIP notifications and other refactors - refactor notification channels - send notifications on events related to the servers and sites - delete server log files on server deletion - add telegram notification channel - add new icons - cache configs and icons on installation and updates - new navbar for dark mode and settings * discord channel * build assets * pint
17 lines
330 B
PHP
17 lines
330 B
PHP
<?php
|
|
|
|
namespace App\Contracts;
|
|
|
|
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, Notification $notification): void;
|
|
}
|