Documentation

AbstractEvent
in package
implements StoppableEventInterface

AbstractYes

Abstract event class

Tags
category

Pop

author

Nick Sagona, III nick@popphp.org

copyright

Copyright (c) 2009-2026 Nick Sagona, III

license

https://www.popphp.org/license New BSD License

version
5.0.0

Table of Contents

Interfaces

StoppableEventInterface

Properties

$propagationStopped  : bool
Propagation stopped flag

Methods

getName()  : string
Get the event name, used to match name-indexed (on()/trigger()) listeners
isPropagationStopped()  : bool
Determine if propagation of this event has been stopped
stopPropagation()  : void
Stop propagation of this event to any remaining listeners
toParams()  : array<string|int, mixed>
Get the params array passed to name-indexed listeners, positionally

Properties

$propagationStopped

Propagation stopped flag

protected bool $propagationStopped = false

Methods

getName()

Get the event name, used to match name-indexed (on()/trigger()) listeners

public abstract getName() : string
Return values
string

isPropagationStopped()

Determine if propagation of this event has been stopped

public isPropagationStopped() : bool
Return values
bool

stopPropagation()

Stop propagation of this event to any remaining listeners

public stopPropagation() : void

toParams()

Get the params array passed to name-indexed listeners, positionally

public abstract toParams() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results