StoppableEventTrait

Trait

Store propagation state for stoppable events.

Table of Contents

Properties

$propagationStopped

Current propagation state.

 : bool

Methods

isPropagationStopped()

Determine whether propagation has been stopped.

 : bool
stopPropagation()

Stop further listener propagation for the current event.

 : void
Properties

$propagationStopped

Private

Current propagation state.

private bool $propagationStopped = false
Methods

isPropagationStopped()

Public

Determine whether propagation has been stopped.

public isPropagationStopped() : bool
Return values
bool

Description

whether propagation is currently stopped

stopPropagation()

Public

Stop further listener propagation for the current event.

public stopPropagation() : void