BeforeNodeCopiedEvent
extends AbstractNodesEvent
in package
Base event class for the event dispatcher service
Tags
Table of Contents
Properties
- $propagationStopped : bool
- $source : Node
- $target : Node
Methods
- __construct() : mixed
- Compatibility constructor
- getSource() : Node
- getTarget() : 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
$propagationStopped
private
bool
$propagationStopped
= false
Tags
$source
private
Node
$source
$target
private
Node
$target
Methods
__construct()
Compatibility constructor
public
__construct(Node $source, Node $target) : mixed
Parameters
Tags
getSource()
public
getSource() : Node
Tags
Return values
NodegetTarget()
public
getTarget() : 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