WechatNotificationChannel.php
305 Bytes
<?php
namespace App\Channels;
use App\Models\User;
use Illuminate\Notifications\Notification;
class WechatNotificationChannel
{
public function send(User $notifiable, Notification $notification): void
{
// @phpstan-ignore-next-line
$notification->toWechat($notifiable);
}
}