use Illuminate\Notifications\Notification;
use Chevgenio\SmsPilot\SmsPilotMessage;
use Chevgenio\SmsPilot\SmsPilotChannel;
class NewOrder extends Notification
{
public function via($notifiable)
{
return [SmsPilotChannel::class];
}
public function toSmsPilot($notifiable)
{
return (new SmsPilotMessage)
->content("Order successfully completed.");
}
}
public function routeNotificationForSmspilot()
{
return $this->phone;
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.