ReminderToCustomersSMS extends Job Uses InteractsWithQueue, Queueable, SerializesModels
Table of Contents
- $bookings : mixed
- The booking collection to email .
- __construct() : void
- Create a new job instance.
- handle() : mixed
- Execute the job.
- shortenUrl() : mixed
- startsWith() : bool
- Function to check string starting with given substring
Properties
$bookings
The booking collection to email .
protected
mixed
$bookings
Methods
__construct()
Create a new job instance.
public
__construct() : void
Return values
void —handle()
Execute the job.
public
handle() : mixed
This function get all today's bookings and send a reminder to customers by SMS
Return values
mixed —shortenUrl()
public
shortenUrl(mixed $url) : mixed
Parameters
- $url : mixed
Return values
mixed —startsWith()
Function to check string starting with given substring
private
startsWith(string $string, string $startString) : bool
Parameters
- $string : string
- $startString : string