Copied!

BeforeUpdateEntryEvent

BeforeUpdateEntryEvent.php : 17
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

BeforeUpdateEntryEvent.php : 27
public __construct(CartInterface $cart, EntryInterface $entry, EntryUpdateStruct $entryUpdateStruct[, CartInterface|null $cartResult = null ])

Parameters

Name Type Default value Description
$cart CartInterface - -
$entry EntryInterface - -
$entryUpdateStruct EntryUpdateStruct - -
$cartResult CartInterface|null null -

publicgetCart()

BeforeUpdateEntryEvent.php : 39
public getCart() : CartInterface

Return values

CartInterface

publicgetCartResult()

BeforeUpdateEntryEvent.php : 54
public getCartResult() : CartInterface

Return values

CartInterface

publicgetEntry()

BeforeUpdateEntryEvent.php : 44
public getEntry() : EntryInterface

Return values

EntryInterface

publicgetEntryUpdateStruct()

BeforeUpdateEntryEvent.php : 49
public getEntryUpdateStruct() : EntryUpdateStruct

Return values

EntryUpdateStruct

publichasCartResult()

BeforeUpdateEntryEvent.php : 70
public hasCartResult() : bool

Return values

bool

publicsetCartResult()

BeforeUpdateEntryEvent.php : 65
public setCartResult(CartInterface|null $cartResult) : void

Parameters

Name Type Default value Description
$cartResult CartInterface|null - -