Documentation

SmsNotificationService
in package

Table of Contents

Properties

$twilioClient  : mixed

Methods

__construct()  : mixed
sendAdminContactVerifiedNotification()  : array<string|int, mixed>
Send admin notification about verified contact
sendSms()  : array<string|int, mixed>
Send an SMS notification
standaloneSendAdminContactVerifiedNotification()  : array<string|int, mixed>

Properties

Methods

sendAdminContactVerifiedNotification()

Send admin notification about verified contact

public sendAdminContactVerifiedNotification(array<string|int, mixed> $userData) : array<string|int, mixed>
Parameters
$userData : array<string|int, mixed>

User data including name, email, phone, and communication style

Return values
array<string|int, mixed>

sendSms()

Send an SMS notification

public sendSms(string $to, string $message) : array<string|int, mixed>
Parameters
$to : string

Phone number to send to

$message : string

Message to send

Return values
array<string|int, mixed>

standaloneSendAdminContactVerifiedNotification()

public standaloneSendAdminContactVerifiedNotification(array<string|int, mixed> $userData) : array<string|int, mixed>
Parameters
$userData : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results