Copied!

BeforeSetPriorityOfObjectStateEvent

BeforeSetPriorityOfObjectStateEvent.php : 14
Final
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

BeforeSetPriorityOfObjectStateEvent.php : 20
public __construct(ObjectState $objectState, int $priority)

Parameters

Name Type Default value Description
$objectState ObjectState - -
$priority int - -

publicgetObjectState()

BeforeSetPriorityOfObjectStateEvent.php : 26
public getObjectState() : ObjectState

Return values

ObjectState

publicgetPriority()

BeforeSetPriorityOfObjectStateEvent.php : 31
public getPriority() : int

Return values

int

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicstopPropagation()

Event.php : 50

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().