Copied!

BeforeCreateCurrencyEvent

BeforeCreateCurrencyEvent.php : 16
Final
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

BeforeCreateCurrencyEvent.php : 22
public __construct(CurrencyCreateStruct $createStruct)

Parameters

Name Type Default value Description
$createStruct CurrencyCreateStruct - -

publicgetCreateStruct()

BeforeCreateCurrencyEvent.php : 27
public getCreateStruct() : CurrencyCreateStruct

Return values

CurrencyCreateStruct

publicgetResultCurrency()

BeforeCreateCurrencyEvent.php : 32
public getResultCurrency() : CurrencyInterface

Return values

CurrencyInterface

publichasResultCurrency()

BeforeCreateCurrencyEvent.php : 44
public hasResultCurrency() : bool

Return values

bool

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicsetResultCurrency()

BeforeCreateCurrencyEvent.php : 49
public setResultCurrency(CurrencyInterface|null $resultCurrency) : void

Parameters

Name Type Default value Description
$resultCurrency CurrencyInterface|null - -

publicstopPropagation()

Event.php : 50

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