BeforeAddEntriesEvent
BeforeAddEntriesEvent.php
:
16
Final
Extends BeforeEvent
Implements
ShoppingListResultAwareEventInterface
Event emitted before action execution.
Methods¶
__construct()
¶
BeforeAddEntriesEvent.php
:
21
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $shoppingList | ShoppingListInterface | - | - |
| $entryAddStructs | array<string|int, EntryAddStruct> | - | - |
| $shoppingListResult | ShoppingListInterface|null | null | - |
getEntryAddStructs()
¶
BeforeAddEntriesEvent.php
:
35
|
|
|
Return values
array<string|int, EntryAddStruct>
getShoppingList()
¶
BeforeAddEntriesEvent.php
:
27
|
|
|
Return values
getShoppingListResult()
¶
BeforeAddEntriesEvent.php
:
40
|
|
|
Return values
hasShoppingListResult()
¶
BeforeAddEntriesEvent.php
:
56
|
|
|
Return values
bool
isPropagationStopped()
¶
Event.php
:
35
|
|
|
Return values
bool
setShoppingListResult()
¶
BeforeAddEntriesEvent.php
:
51
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $shoppingListResult | ShoppingListInterface|null | - | - |
stopPropagation()
¶
Event.php
:
47
Stops the propagation of the event to further event listeners.
|
|
|
If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().