Files
api-extranetwork/app/Channels/OneSignalChannel.php
ExtraNetwork e5c4b6aa13 first commit
2026-05-12 17:04:54 +03:00

23 lines
484 B
PHP

<?php
namespace App\Channels;
use Illuminate\Notifications\Notification;
class OneSignalChannel
{
/**
* Send the given notification.
*
* @param mixed $notifiable
* @param \Illuminate\Notifications\Notification $notification
* @return void
*/
public function send($notifiable, Notification $notification)
{
$message = $notification->toOneSignal($notifiable);
// Send notification to the $notifiable instance...
}
}