GenericEntityEvent
in package
implements
IEntityEvent
Class GenericEntityEvent
Tags
Table of Contents
Interfaces
- IEntityEvent
- Interface IEntityEvent
Properties
- $displayName : string
- $eventName : string
Methods
- __construct() : mixed
- GenericEntityEvent constructor.
- getDisplayName() : string
- returns a translated name to be presented in the web interface.
- getEventName() : string
- returns the event name that is emitted by the EventDispatcher, e.g.:
Properties
$displayName
private
string
$displayName
$eventName
private
string
$eventName
Methods
__construct()
GenericEntityEvent constructor.
public
__construct(string $displayName, string $eventName) : mixed
Parameters
- $displayName : string
- $eventName : string
Tags
getDisplayName()
returns a translated name to be presented in the web interface.
public
getDisplayName() : string
Example: "created" (en), "kreita" (eo)
Tags
Return values
stringgetEventName()
returns the event name that is emitted by the EventDispatcher, e.g.:
public
getEventName() : string
Example: "OCA\MyApp\Factory\Cats::postCreated"