AbstractEvent
in package
implements
EventInterface
AbstractYes
Table of Contents
Interfaces
Properties
- $emitter : EmitterInterface|null
- The emitter instance.
- $propagationStopped : bool
- Has propagation stopped?
Methods
- getEmitter() : EmitterInterface
- Get the Emitter.
- getName() : string
- Get the event name.
- isPropagationStopped() : bool
- Check whether propagation was stopped.
- setEmitter() : $this
- Set the Emitter.
- stopPropagation() : $this
- Stop event propagation.
Properties
$emitter
The emitter instance.
protected
EmitterInterface|null
$emitter
$propagationStopped
Has propagation stopped?
protected
bool
$propagationStopped
= false
Methods
getEmitter()
Get the Emitter.
public
getEmitter() : EmitterInterface
Tags
Return values
EmitterInterfacegetName()
Get the event name.
public
getName() : string
Tags
Return values
stringisPropagationStopped()
Check whether propagation was stopped.
public
isPropagationStopped() : bool
Tags
Return values
boolsetEmitter()
Set the Emitter.
public
setEmitter(EmitterInterface $emitter) : $this
Parameters
- $emitter : EmitterInterface
Tags
Return values
$thisstopPropagation()
Stop event propagation.
public
stopPropagation() : $this