Copied!

SwapLocationEvent

SwapLocationEvent.php : 14
Extends AfterEvent

Event emitted after action execution.

Methods

public__construct()

SwapLocationEvent.php : 22
public __construct(Location $location1, Location $location2)

Parameters

Name Type Default value Description
$location1 Location - -
$location2 Location - -

publicgetLocation1()

SwapLocationEvent.php : 30
public getLocation1() : Location

Return values

Location

publicgetLocation2()

SwapLocationEvent.php : 35
public getLocation2() : Location

Return values

Location

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