Copied!

DeleteTrashItemEvent

DeleteTrashItemEvent.php : 15
Extends AfterEvent

Event emitted after action execution.

Methods

public__construct()

DeleteTrashItemEvent.php : 23
public __construct(TrashItemDeleteResult $result, TrashItem $trashItem)

Parameters

Name Type Default value Description
$result TrashItemDeleteResult - -
$trashItem TrashItem - -

publicgetResult()

DeleteTrashItemEvent.php : 36
public getResult() : TrashItemDeleteResult

Return values

TrashItemDeleteResult

publicgetTrashItem()

DeleteTrashItemEvent.php : 31
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().