Copied!

BeforeSwapLocationEvent

BeforeSwapLocationEvent.php : 14
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

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

Parameters

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

publicgetLocation1()

BeforeSwapLocationEvent.php : 28
public getLocation1() : Location

Return values

Location

publicgetLocation2()

BeforeSwapLocationEvent.php : 33
public getLocation2() : Location

Return values

Location