File "AppServiceProvider.php"

Full Path: /home/clickysoft/public_html/jmapi5.clickysoft.net/app/Providers/AppServiceProvider.php
File size: 575 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace App\Providers;

use App\Channels\SMSChannel;
use Illuminate\Support\ServiceProvider;

class AppServiceProvider extends ServiceProvider
{
    /**
     * Register any application services.
     *
     * @return void
     */
    public function register()
    {
        //
    }

    /**
     * Bootstrap any application services.
     *
     * @return void
     */
    public function boot(): void
    {
        // Custom channel for notifications
        \Notification::extend('sms', function ($app) {
            return new SMSChannel();
        });
    }
}