NotificationSendBody
implements
Serializable
Interfaces, Classes, Traits and Enums
- Serializable
Table of Contents
-
$address
: string
-
$countAttempts
: int
-
$file
: array<string|int, mixed>|null
-
$name
: string
-
$params
: array<string|int, mixed>
-
$sendAdditional
: bool
-
$templateId
: ObjectId
-
$type
: string
-
$uniqueField
: string|null
-
__construct()
: mixed
-
__serialize()
: array<string|int, mixed>
-
__unserialize()
: void
-
getAddress()
: string
-
getCountAttempts()
: int
-
getFile()
: array<string|int, mixed>|null
-
getName()
: string
-
getParams()
: array<string|int, mixed>
-
getTemplateId()
: ObjectId
-
getType()
: string
-
getUniqueField()
: string|null
-
incCountAttempts()
: int
-
isSendAdditional()
: bool
-
serialize()
: string|null
-
setFile()
: void
-
unserialize()
: void
$address
private
string
$address
$countAttempts
private
int
$countAttempts
= 0
$file
private
array<string|int, mixed>|null
$file
= null
$name
private
string
$name
$params
private
array<string|int, mixed>
$params
$sendAdditional
private
bool
$sendAdditional
= true
$templateId
private
ObjectId
$templateId
$type
private
string
$type
$uniqueField
private
string|null
$uniqueField
__construct()
public
__construct(string $type, string $address, string $name, ObjectId $templateId, array<string|int, mixed> $params, string|null $uniqueField[, bool $sendAdditional = true ]) : mixed
Parameters
-
$type
: string
-
-
$address
: string
-
-
$name
: string
-
-
$templateId
: ObjectId
-
-
$params
: array<string|int, mixed>
-
-
$uniqueField
: string|null
-
-
$sendAdditional
: bool
= true
-
Return values
mixed
—
__serialize()
public
__serialize() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
__unserialize()
public
__unserialize(array<string|int, mixed> $data) : void
Parameters
-
$data
: array<string|int, mixed>
-
Return values
void
—
getAddress()
public
getAddress() : string
Return values
string
—
getCountAttempts()
public
getCountAttempts() : int
Return values
int
—
getFile()
public
getFile() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null
—
getName()
public
getName() : string
Return values
string
—
getParams()
public
getParams() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
getTemplateId()
public
getTemplateId() : ObjectId
Return values
ObjectId
—
getType()
public
getType() : string
Return values
string
—
getUniqueField()
public
getUniqueField() : string|null
Return values
string|null
—
incCountAttempts()
public
incCountAttempts() : int
Return values
int
—
isSendAdditional()
public
isSendAdditional() : bool
Return values
bool
—
serialize()
public
serialize() : string|null
Return values
string|null
—
setFile()
public
setFile(string $filePath, string $fileName) : void
Parameters
-
$filePath
: string
-
-
$fileName
: string
-
Return values
void
—
unserialize()
public
unserialize(mixed $data) : void
Parameters
-
$data
: mixed
-
Return values
void
—