Copied!

UpdateLocationEvent

UpdateLocationEvent.php : 15
Extends AfterEvent

Event emitted after action execution.

Methods

public__construct()

UpdateLocationEvent.php : 26
public __construct(Location $updatedLocation, Location $location, LocationUpdateStruct $locationUpdateStruct)

Parameters

Name Type Default value Description
$updatedLocation Location - -
$location Location - -
$locationUpdateStruct LocationUpdateStruct - -

publicgetLocation()

UpdateLocationEvent.php : 41
public getLocation() : Location

Return values

Location

publicgetLocationUpdateStruct()

UpdateLocationEvent.php : 46
public getLocationUpdateStruct() : LocationUpdateStruct

Return values

LocationUpdateStruct

publicgetUpdatedLocation()

UpdateLocationEvent.php : 36
public getUpdatedLocation() : 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().