Copied!

BeforeUpdateSettingEvent

BeforeUpdateSettingEvent.php : 16
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

BeforeUpdateSettingEvent.php : 27
public __construct(Setting $setting, SettingUpdateStruct $settingUpdateStruct)

Parameters

Name Type Default value Description
$setting Setting - -
$settingUpdateStruct SettingUpdateStruct - -

publicgetSetting()

BeforeUpdateSettingEvent.php : 33
public getSetting() : Setting

Return values

Setting

publicgetSettingUpdateStruct()

BeforeUpdateSettingEvent.php : 38
public getSettingUpdateStruct() : SettingUpdateStruct

Return values

SettingUpdateStruct

publicgetUpdatedSetting()

BeforeUpdateSettingEvent.php : 43
public getUpdatedSetting() : Setting

Return values

Setting

publichasUpdatedSetting()

BeforeUpdateSettingEvent.php : 57
public hasUpdatedSetting() : bool

Return values

bool

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicsetUpdatedSetting()

BeforeUpdateSettingEvent.php : 52
public setUpdatedSetting(Setting|null $updatedSetting) : void

Parameters

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