Sindbad~EG File Manager

Current Path : /home/copmadinaarea/creditunion.copeastlegondistrict.org/app/Channels/
Upload File :
Current File : /home/copmadinaarea/creditunion.copeastlegondistrict.org/app/Channels/SMS.php

<?php

namespace App\Channels;

use App\Utilities\SmsHelper;
use Illuminate\Notifications\Notification;

class SMS {
    /**
     * @param $notifiable
     * @param Notification $notification
     * @throws \Twilio\Exceptions\TwilioException
     */
    public function send($notifiable, Notification $notification) {
        $message = $notification->toSMS($notifiable);

        try {
            $sms = new SmsHelper();
            $sms->send($message->getRecipient(), $message->getContent());
        } catch (\Exception $e) {}

    }
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists