EventController uses Singleton
FinalYes
Table of Contents
Methods
- __wakeup() : mixed
- getEventEntityByEventId() : EntityObject|null
- getInstance() : static
- register() : Result
Methods
__wakeup()
public
__wakeup() : mixed
getEventEntityByEventId()
public
getEventEntityByEventId(string $moduleId, string $eventId) : EntityObject|null
Parameters
- $moduleId : string
- $eventId : string
Return values
EntityObject|nullgetInstance()
public
static getInstance() : static
Return values
staticregister()
public
register(ChannelEvent $channelEvent, array<string|int, TouchedItemIdentifier> $touchedItemIdentifiers[, int|null $userId = null ]) : Result
Parameters
- $channelEvent : ChannelEvent
- $touchedItemIdentifiers : array<string|int, TouchedItemIdentifier>
- $userId : int|null = null