Copied!

BeforeCopySubtreeEvent

BeforeCopySubtreeEvent.php : 15
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

BeforeCopySubtreeEvent.php : 26
public __construct(Location $subtree, Location $targetParentLocation)

Parameters

Name Type Default value Description
$subtree Location - -
$targetParentLocation Location - -

publicgetLocation()

BeforeCopySubtreeEvent.php : 42
public getLocation() : Location

Return values

Location

publicgetSubtree()

BeforeCopySubtreeEvent.php : 32
public getSubtree() : Location

Return values

Location

publicgetTargetParentLocation()

BeforeCopySubtreeEvent.php : 37
public getTargetParentLocation() : Location

Return values

Location

publichasLocation()

BeforeCopySubtreeEvent.php : 56
public hasLocation() : bool

Return values

bool

publicsetLocation()

BeforeCopySubtreeEvent.php : 51
public setLocation(Location|null $location) : void

Parameters

Name Type Default value Description
$location Location|null - -