Copied!

BeforeUpdateSegmentEvent

BeforeUpdateSegmentEvent.php : 16
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

BeforeUpdateSegmentEvent.php : 24
public __construct(Segment $segment, SegmentUpdateStruct $updateStruct[, Segment|null $segmentResult = null ])

Parameters

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

publicgetSegment()

BeforeUpdateSegmentEvent.php : 31
public getSegment() : Segment

Return values

Segment

publicgetSegmentResult()

BeforeUpdateSegmentEvent.php : 41
public getSegmentResult() : Segment

Return values

Segment

publicgetUpdateStruct()

BeforeUpdateSegmentEvent.php : 36
public getUpdateStruct() : SegmentUpdateStruct

Return values

SegmentUpdateStruct

publichasSegmentResult()

BeforeUpdateSegmentEvent.php : 57
public hasSegmentResult() : bool

Return values

bool

publicsetSegmentResult()

BeforeUpdateSegmentEvent.php : 52
public setSegmentResult(Segment|null $segmentResult) : void

Parameters

Name Type Default value Description
$segmentResult Segment|null - -