Documentation

AbstractEvent
in package
implements EventInterface

AbstractYes

Table of Contents

Interfaces

EventInterface

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

$propagationStopped

Has propagation stopped?

protected bool $propagationStopped = false

Methods

getName()

Get the event name.

public getName() : string
Tags
inheritdoc
Return values
string

isPropagationStopped()

Check whether propagation was stopped.

public isPropagationStopped() : bool
Tags
inheritdoc
Return values
bool

stopPropagation()

Stop event propagation.

public stopPropagation() : $this
Tags
inheritdoc
Return values
$this

        
On this page

Search results