FileCreatedFromTemplateEvent
extends Event
in package
Base event class for the event dispatcher service
Tags
Table of Contents
Properties
- $propagationStopped : bool
- $target : mixed
- $template : mixed
- $templateFields : mixed
Methods
- __construct() : mixed
- Compatibility constructor
- getTarget() : File
- getTemplate() : File|null
- getTemplateFields() : array<string|int, mixed>
- isPropagationStopped() : bool
- {@inheritDoc}
- stopPropagation() : void
- Stops the propagation of the event to further event listeners
Properties
$propagationStopped
private
bool
$propagationStopped
= false
Tags
$target
private
mixed
$target
$template
private
mixed
$template
$templateFields
private
mixed
$templateFields
Methods
__construct()
Compatibility constructor
public
__construct(File|null $template, File $target, array<string|int, mixed> $templateFields) : mixed
Parameters
Tags
getTarget()
public
getTarget() : File
Tags
Return values
FilegetTemplate()
public
getTemplate() : File|null
Tags
Return values
File|nullgetTemplateFields()
public
getTemplateFields() : 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