Copied!

BeforeCreateObjectStateGroupEvent

BeforeCreateObjectStateGroupEvent.php : 16
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

BeforeCreateObjectStateGroupEvent.php : 24
public __construct(ObjectStateGroupCreateStruct $objectStateGroupCreateStruct)

Parameters

Name Type Default value Description
$objectStateGroupCreateStruct ObjectStateGroupCreateStruct - -

publicgetObjectStateGroup()

BeforeCreateObjectStateGroupEvent.php : 34
public getObjectStateGroup() : ObjectStateGroup

Return values

ObjectStateGroup

publicgetObjectStateGroupCreateStruct()

BeforeCreateObjectStateGroupEvent.php : 29
public getObjectStateGroupCreateStruct() : ObjectStateGroupCreateStruct

Return values

ObjectStateGroupCreateStruct

publichasObjectStateGroup()

BeforeCreateObjectStateGroupEvent.php : 48
public hasObjectStateGroup() : bool

Return values

bool

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicsetObjectStateGroup()

BeforeCreateObjectStateGroupEvent.php : 43
public setObjectStateGroup(ObjectStateGroup|null $objectStateGroup) : void

Parameters

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