BeforeNodeWrittenEvent
extends AbstractNodeEvent
in package
Base event class for the event dispatcher service
Tags
Table of Contents
Properties
- $node : Node
- $propagationStopped : bool
Methods
- __construct() : mixed
- Compatibility constructor
- getNode() : Node
- getWebhookSerializable() : array<string|int, mixed>
- Return data to be serialized and sent to the webhook. Will be serialized using json_encode.
- isPropagationStopped() : bool
- {@inheritDoc}
- stopPropagation() : void
- Stops the propagation of the event to further event listeners
Properties
$node
private
Node
$node
$propagationStopped
private
bool
$propagationStopped
= false
Tags
Methods
__construct()
Compatibility constructor
public
__construct(Node $node) : mixed
Parameters
- $node : Node
Tags
getNode()
public
getNode() : Node
Tags
Return values
NodegetWebhookSerializable()
Return data to be serialized and sent to the webhook. Will be serialized using json_encode.
public
getWebhookSerializable() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>isPropagationStopped()
{@inheritDoc}
public
isPropagationStopped() : bool
Tags
Return values
boolstopPropagation()
Stops the propagation of the event to further event listeners
public
stopPropagation() : void