Service
Class Service
Table of Contents
Methods
- canUse() : mixed
- getDailyLimits() : array<string|int, mixed>
- Get daily limits.
- getFormattedOutputNumber() : mixed
- getLimitsUrl() : string
- Get limits url.
- getManageUrl() : string
- Get manage url.
- getProviders() : array<string|int, mixed>
- Get providers.
- getSenderNames() : array<string|int, mixed>
- Get sender names.
- send() : bool
- Send.
Methods
canUse()
public
static canUse() : mixed
getDailyLimits()
Get daily limits.
public
static getDailyLimits() : array<string|int, mixed>
Return values
array<string|int, mixed>getFormattedOutputNumber()
public
static getFormattedOutputNumber(mixed $value) : mixed
Parameters
- $value : mixed
getLimitsUrl()
Get limits url.
public
static getLimitsUrl() : string
Return values
stringgetManageUrl()
Get manage url.
public
static getManageUrl() : string
Return values
stringgetProviders()
Get providers.
public
static getProviders() : array<string|int, mixed>
Return values
array<string|int, mixed>getSenderNames()
Get sender names.
public
static getSenderNames() : array<string|int, mixed>
Return values
array<string|int, mixed>send()
Send.
public
static send(string $senderId, string $from, string $to, string $text[, int $authorId = 1 ]) : bool
Parameters
- $senderId : string
-
Sender ID.
- $from : string
-
From number.
- $to : string
-
To number.
- $text : string
-
Text.
- $authorId : int = 1
-
Author ID.