Notification
AbstractYes
Table of Contents
Constants
- ADD_SENDING_TYPE = 'sendAboutAdd'
- NOTIFY_EVENT = ''
- SENDING_TYPES = [self::ADD_SENDING_TYPE, self::UPDATE_SENDING_TYPE]
- UPDATE_SENDING_TYPE = 'sendAboutUpdate'
Methods
- __construct() : mixed
- send() : void
- setDifference() : static
- setSendingType() : static
Constants
ADD_SENDING_TYPE
public
mixed
ADD_SENDING_TYPE
= 'sendAboutAdd'
NOTIFY_EVENT
public
mixed
NOTIFY_EVENT
= ''
SENDING_TYPES
public
mixed
SENDING_TYPES
= [self::ADD_SENDING_TYPE, self::UPDATE_SENDING_TYPE]
UPDATE_SENDING_TYPE
public
mixed
UPDATE_SENDING_TYPE
= 'sendAboutUpdate'
Methods
__construct()
public
__construct(int $entityTypeId, Difference|null $difference, string|null $sendingType) : mixed
Parameters
- $entityTypeId : int
- $difference : Difference|null
- $sendingType : string|null
send()
public
final send() : void
setDifference()
public
setDifference(Difference $difference) : static
Parameters
- $difference : Difference
Return values
staticsetSendingType()
public
setSendingType(string $sendingType) : static
Parameters
- $sendingType : string