Copied!

BeforeClearShoppingListEvent

BeforeClearShoppingListEvent.php : 15
Final
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

BeforeClearShoppingListEvent.php : 17
public __construct(ShoppingListInterface $shoppingList[, ShoppingListInterface|null $shoppingListResult = null ])

Parameters

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

publicgetShoppingList()

BeforeClearShoppingListEvent.php : 22
public getShoppingList() : ShoppingListInterface

Return values

ShoppingListInterface

publicgetShoppingListResult()

BeforeClearShoppingListEvent.php : 27
public getShoppingListResult() : ShoppingListInterface

Return values

ShoppingListInterface

publichasShoppingListResult()

BeforeClearShoppingListEvent.php : 43
public hasShoppingListResult() : bool

Return values

bool

publicisPropagationStopped()

Event.php : 35
public isPropagationStopped() : bool

Return values

bool

publicsetShoppingListResult()

BeforeClearShoppingListEvent.php : 38
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().