Copied!

UpdateSegmentEvent

UpdateSegmentEvent.php : 15
Final
Extends AfterEvent

Event emitted after action execution.

Methods

public__construct()

UpdateSegmentEvent.php : 17
public __construct(Segment $segment, SegmentUpdateStruct $updateStruct, Segment $segmentResult)

Parameters

Name Type Default value Description
$segment Segment - -
$updateStruct SegmentUpdateStruct - -
$segmentResult Segment - -

publicgetSegment()

UpdateSegmentEvent.php : 24
public getSegment() : Segment

Return values

Segment

publicgetSegmentResult()

UpdateSegmentEvent.php : 34
public getSegmentResult() : Segment

Return values

Segment

publicgetUpdateStruct()

UpdateSegmentEvent.php : 29
public getUpdateStruct() : SegmentUpdateStruct

Return values

SegmentUpdateStruct

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

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