BeforeClearShoppingListEvent
BeforeClearShoppingListEvent.php
:
15
Final
Extends BeforeEvent
Implements
ShoppingListResultAwareEventInterface
Event emitted before action execution.
Methods¶
__construct()
¶
BeforeClearShoppingListEvent.php
:
17
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $shoppingList | ShoppingListInterface | - | - |
| $shoppingListResult | ShoppingListInterface|null | null | - |
getShoppingList()
¶
BeforeClearShoppingListEvent.php
:
22
|
|
|
Return values
getShoppingListResult()
¶
BeforeClearShoppingListEvent.php
:
27
|
|
|
Return values
hasShoppingListResult()
¶
BeforeClearShoppingListEvent.php
:
43
|
|
|
Return values
bool
isPropagationStopped()
¶
Event.php
:
35
|
|
|
Return values
bool
setShoppingListResult()
¶
BeforeClearShoppingListEvent.php
:
38
|
|
|
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().