Tester
Table of Contents
Constants
- MAX_LAST_CODES = 6
- MAX_SEND_CODES = 15
Methods
- __construct() : mixed
- Checker constructor.
- getLastCodes() : array<string|int, mixed>
- Get last codes.
- getRecipientType() : int|null
- Get recipient type.
- isSupport() : bool
- Is support.
- send() : Result
- Send test message to recipients.
Constants
MAX_LAST_CODES
public
mixed
MAX_LAST_CODES
= 6
MAX_SEND_CODES
public
mixed
MAX_SEND_CODES
= 15
Methods
__construct()
Checker constructor.
public
__construct(Adapter $message) : mixed
Parameters
- $message : Adapter
-
Message.
getLastCodes()
Get last codes.
public
getLastCodes() : array<string|int, mixed>
Return values
array<string|int, mixed>getRecipientType()
Get recipient type.
public
getRecipientType() : int|null
Return values
int|nullisSupport()
Is support.
public
isSupport() : bool
Return values
boolsend()
Send test message to recipients.
public
send(array<string|int, mixed> $codes, array<string|int, mixed> $parameters) : Result
Parameters
- $codes : array<string|int, mixed>
-
Recipient codes.
- $parameters : array<string|int, mixed>
-
Parameters.