Table of Contents
Interfaces
- Arrayable
Constants
-
STATUS_ACTIVE
= 'ACTIVE'
-
STATUS_DELETED
= 'DELETED'
-
STATUS_SYNC
= 'SYNC'
Methods
-
__construct()
: mixed
-
getCaption()
: Caption
-
getChannel()
: string
-
getId()
: int|null
-
getIntegrationId()
: int|null
-
getMessage()
: Message
-
getRecipients()
: array<string|int, mixed>
-
getTranslatedMessage()
: string
-
getWhen()
: When
-
getWhere()
: Where
-
isEqual()
: bool
-
setId()
: self
-
setIntegrationId()
: self
-
toArray()
: array<string|int, mixed>
-
toObject()
: Item|null
STATUS_ACTIVE
public
mixed
STATUS_ACTIVE
= 'ACTIVE'
STATUS_DELETED
public
mixed
STATUS_DELETED
= 'DELETED'
STATUS_SYNC
public
mixed
STATUS_SYNC
= 'SYNC'
__construct()
public
__construct(Caption $caption, Message $message, When $when, Where $where, array<string|int, mixed> $recipients[, int|null $id = null ][, int|null $integrationId = null ]) : mixed
Parameters
-
$caption
: Caption
-
-
$message
: Message
-
-
$when
: When
-
-
$where
: Where
-
-
$recipients
: array<string|int, mixed>
-
-
$id
: int|null
= null
-
-
$integrationId
: int|null
= null
-
getCaption()
public
getCaption() : Caption
getChannel()
public
getChannel() : string
getId()
public
getId() : int|null
getIntegrationId()
public
getIntegrationId() : int|null
getMessage()
public
getMessage() : Message
getRecipients()
public
getRecipients() : array<string|int, mixed>
Return values
array<string|int, mixed>
getTranslatedMessage()
public
getTranslatedMessage() : string
getWhen()
public
getWhen() : When
getWhere()
public
getWhere() : Where
isEqual()
public
isEqual(Item $item) : bool
Parameters
-
$item
: Item
-
setId()
public
setId(int|null $id) : self
Parameters
-
$id
: int|null
-
setIntegrationId()
public
setIntegrationId(int|null $integrationId) : self
Parameters
-
$integrationId
: int|null
-
toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>
toObject()
public
static toObject(array<string|int, mixed> $item) : Item|null
Parameters
-
$item
: array<string|int, mixed>
-