Copied!

BeforeCreateSettingEvent

BeforeCreateSettingEvent.php : 16
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

BeforeCreateSettingEvent.php : 24
public __construct(SettingCreateStruct $settingCreateStruct)

Parameters

Name Type Default value Description
$settingCreateStruct SettingCreateStruct - -

publicgetSetting()

BeforeCreateSettingEvent.php : 34
public getSetting() : Setting

Return values

Setting

publicgetSettingCreateStruct()

BeforeCreateSettingEvent.php : 29
public getSettingCreateStruct() : SettingCreateStruct

Return values

SettingCreateStruct

publichasSetting()

BeforeCreateSettingEvent.php : 48
public hasSetting() : bool

Return values

bool

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicsetSetting()

BeforeCreateSettingEvent.php : 43
public setSetting(Setting|null $setting) : void

Parameters

Name Type Default value Description
$setting Setting|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().