Copied!

UpdateSegmentEvent

UpdateSegmentEvent.php : 15
Extends AfterEvent

Event emitted after action execution.

Methods

public__construct()

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

Parameters

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

publicgetSegment()

UpdateSegmentEvent.php : 30
public getSegment() : Segment

Return values

Segment

publicgetSegmentResult()

UpdateSegmentEvent.php : 40
public getSegmentResult() : Segment

Return values

Segment

publicgetUpdateStruct()

UpdateSegmentEvent.php : 35
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().