Copied!

BeforeRemoveEntriesEvent

BeforeRemoveEntriesEvent.php : 16
Final
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

BeforeRemoveEntriesEvent.php : 21
public __construct(ShoppingListInterface $shoppingList, array<string|int, ShoppingListEntryInterface> $entries[, ShoppingListInterface|null $shoppingListResult = null ])

Parameters

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

publicgetEntries()

BeforeRemoveEntriesEvent.php : 35
public getEntries() : array<string|int, ShoppingListEntryInterface>

Return values

array<string|int, ShoppingListEntryInterface>

publicgetShoppingList()

BeforeRemoveEntriesEvent.php : 27
public getShoppingList() : ShoppingListInterface

Return values

ShoppingListInterface

publicgetShoppingListResult()

BeforeRemoveEntriesEvent.php : 40
public getShoppingListResult() : ShoppingListInterface

Return values

ShoppingListInterface

publichasShoppingListResult()

BeforeRemoveEntriesEvent.php : 56
public hasShoppingListResult() : bool

Return values

bool

publicisPropagationStopped()

Event.php : 35
public isPropagationStopped() : bool

Return values

bool

publicsetShoppingListResult()

BeforeRemoveEntriesEvent.php : 51
public setShoppingListResult(ShoppingListInterface|null $shoppingListResult) : void

Parameters

Name Type Default value Description
$shoppingListResult ShoppingListInterface|null - -

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