Copied!

UpdateShoppingListEvent

UpdateShoppingListEvent.php : 15
Final
Extends AfterEvent

Event emitted after action execution.

Methods

public__construct()

UpdateShoppingListEvent.php : 17
public __construct(ShoppingListInterface $shoppingList, ShoppingListUpdateStruct $updateStruct, ShoppingListInterface $shoppingListResult)

Parameters

Name Type Default value Description
$shoppingList ShoppingListInterface - -
$updateStruct ShoppingListUpdateStruct - -
$shoppingListResult ShoppingListInterface - -

publicgetShoppingList()

UpdateShoppingListEvent.php : 23
public getShoppingList() : ShoppingListInterface

Return values

ShoppingListInterface

publicgetShoppingListResult()

UpdateShoppingListEvent.php : 33
public getShoppingListResult() : ShoppingListInterface

Return values

ShoppingListInterface

publicgetUpdateStruct()

UpdateShoppingListEvent.php : 28
public getUpdateStruct() : ShoppingListUpdateStruct

Return values

ShoppingListUpdateStruct

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