PreTransformationEvent
extends Event
in package
Event happening prior to each individual transformation.
Table of Contents
- $propagationStopped : mixed
- $subject : object
- $transformation : Transformation
- __construct() : mixed
- create() : self
- getSubject() : object
- getTransformation() : Transformation
- isPropagationStopped() : bool
- Is propagation stopped?
- stopPropagation() : void
- Stops the propagation of the event to further event listeners.
Properties
$propagationStopped
private
mixed
$propagationStopped
= false
$subject
private
object
$subject
$transformation
private
Transformation
$transformation
Methods
__construct()
public
__construct(object $subject, Transformation $transformation) : mixed
Parameters
- $subject : object
- $transformation : Transformation
Return values
mixed —create()
public
static create(object $subject, Transformation $transformation) : self
Parameters
- $subject : object
- $transformation : Transformation
Return values
self —getSubject()
public
getSubject() : object
Return values
object —getTransformation()
public
getTransformation() : Transformation
Return values
Transformation —isPropagationStopped()
Is propagation stopped?
public
isPropagationStopped() : bool
Return values
bool —stopPropagation()
Stops the propagation of the event to further event listeners.
public
stopPropagation() : void
If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().