Свойство | Тип | Описание | |
---|---|---|---|
$accountIdentifier | string | The identifier of the account that triggered this event. Optional. | |
$childEvents | ArrayCollection |
Child events, of this event | |
$data | array | Payload of the event. | |
$eventType | string | What was this event about? Is a required string constant. | |
$parentEvent | The parent event, if exists. E.g. if a "move node" operation triggered a bunch of other events, or a "publish" | ||
$timestamp | DateTime | When was this event? | |
$uid | integer | We introduce an auto_increment column to be able to sort events at the same timestamp |
Метод | Описание | |
---|---|---|
__construct ( string $eventType, array $data, string $user = null, |
Create a new event | |
addChildEvent ( |
Add a new child event. Is called from the child event's constructor. | |
getAccountIdentifier ( ) : string | Return the identifier of the account (if any) which triggered this event | |
getChildEvents ( ) : array | Return the child events (if any) | |
getData ( ) : array | Return the payload of this event | |
getEventType ( ) : string | Return the type of this event | |
getParentEvent ( ) : |
Return the parent event (if any) | |
getTimestamp ( ) : DateTime | Return the timestamp of this event |
public addChildEvent ( |
||
$childEvent | ||
Результат | void |
public getAccountIdentifier ( ) : string | ||
Результат | string |
public getChildEvents ( ) : array | ||
Результат | array |
public getEventType ( ) : string | ||
Результат | string |
public getParentEvent ( ) : |
||
Результат |
public getTimestamp ( ) : DateTime | ||
Результат | DateTime |
protected string $accountIdentifier | ||
Результат | string |
protected ArrayCollection |
||
Результат | ArrayCollection |
protected string $eventType | ||
Результат | string |
protected Event,Neos\Neos\EventLog\Domain\Model $parentEvent | ||
Результат |
protected DateTime $timestamp | ||
Результат | DateTime |
protected int $uid | ||
Результат | integer |