Copied!

RecoverEvent

RecoverEvent.php : 15
Extends AfterEvent

Event emitted after action execution.

Methods

public__construct()

RecoverEvent.php : 26
public __construct(Location $location, TrashItem $trashItem[, Location|null $newParentLocation = null ])

Parameters

Name Type Default value Description
$location Location - -
$trashItem TrashItem - -
$newParentLocation Location|null null -

publicgetLocation()

RecoverEvent.php : 46
public getLocation() : Location

Return values

Location

publicgetNewParentLocation()

RecoverEvent.php : 41
public getNewParentLocation() : Location|null

Return values

Location|null

publicgetTrashItem()

RecoverEvent.php : 36
public getTrashItem() : TrashItem

Return values

TrashItem

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