NexmoSmsChannel
in package
Table of Contents
- $from : string
- The phone number notifications should be sent from.
- $nexmo : Client
- The Nexmo client instance.
- __construct() : void
- Create a new Nexmo channel instance.
- send() : Message
- Send the given notification.
Properties
$from
The phone number notifications should be sent from.
protected
string
$from
$nexmo
The Nexmo client instance.
protected
Client
$nexmo
Methods
__construct()
Create a new Nexmo channel instance.
public
__construct(Client $nexmo, string $from) : void
Parameters
- $nexmo : Client
- $from : string
Return values
void —send()
Send the given notification.
public
send(mixed $notifiable, Notification $notification) : Message
Parameters
- $notifiable : mixed
- $notification : Notification