Copied!

AddEntriesEvent

AddEntriesEvent.php : 15
Final
Extends AfterEvent

Event emitted after action execution.

Methods

public__construct()

AddEntriesEvent.php : 20
public __construct(ShoppingListInterface $shoppingList, array<string|int, EntryAddStruct$entryAddStructs, ShoppingListInterface $shoppingListResult)

Parameters

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

publicgetEntryAddStructs()

AddEntriesEvent.php : 34
public getEntryAddStructs() : array<string|int, EntryAddStruct>

Return values

array<string|int, EntryAddStruct>

publicgetShoppingList()

AddEntriesEvent.php : 26
public getShoppingList() : ShoppingListInterface

Return values

ShoppingListInterface

publicgetShoppingListResult()

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