mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-03 06:56:15 +00:00
Merge (#127)
This commit is contained in:
18
app/NotificationChannels/NotificationChannel.php
Normal file
18
app/NotificationChannels/NotificationChannel.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?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;
|
||||
}
|
Reference in New Issue
Block a user