Copied!

ClearShoppingListEvent

ClearShoppingListEvent.php : 14
Final
Extends AfterEvent

Event emitted after action execution.

Methods

public__construct()

ClearShoppingListEvent.php : 16
public __construct(ShoppingListInterface $shoppingList, ShoppingListInterface $shoppingListResult)

Parameters

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

publicgetShoppingList()

ClearShoppingListEvent.php : 21
public getShoppingList() : ShoppingListInterface

Return values

ShoppingListInterface

publicgetShoppingListResult()

ClearShoppingListEvent.php : 26
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().