class NexmoSmsChannel (View source)

Properties

protected Client $nexmo

The Nexmo client instance.

protected string $from

The phone number notifications should be sent from.

Methods

void
__construct(Client $nexmo, string $from)

Create a new Nexmo channel instance.

Message
send(mixed $notifiable, Notification $notification)

Send the given notification.

Details

void __construct(Client $nexmo, string $from)

Create a new Nexmo channel instance.

Parameters

Client $nexmo
string $from

Return Value

void

Message send(mixed $notifiable, Notification $notification)

Send the given notification.

Parameters

mixed $notifiable
Notification $notification

Return Value

Message