Copied!

RemoveEntriesEvent

RemoveEntriesEvent.php : 15
Final
Extends AfterEvent

Event emitted after action execution.

Methods

public__construct()

RemoveEntriesEvent.php : 20
public __construct(ShoppingListInterface $shoppingList, array<string|int, ShoppingListEntryInterface$entries, ShoppingListInterface $shoppingListResult)

Parameters

Name Type Default value Description
$shoppingList ShoppingListInterface - -
$entries array<string|int, ShoppingListEntryInterface> - -
$shoppingListResult ShoppingListInterface - -

publicgetEntries()

RemoveEntriesEvent.php : 34
public getEntries() : array<string|int, ShoppingListEntryInterface>

Return values

array<string|int, ShoppingListEntryInterface>

publicgetShoppingList()

RemoveEntriesEvent.php : 26
public getShoppingList() : ShoppingListInterface

Return values

ShoppingListInterface

publicgetShoppingListResult()

RemoveEntriesEvent.php : 39
public getShoppingListResult() : ShoppingListInterface

Return values

ShoppingListInterface

publicisPropagationStopped()

Event.php : 35
public isPropagationStopped() : bool

Return values

bool

publicstopPropagation()

Event.php : 47

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