Event emitted before action execution.
Methods¶
                 __construct()
            ¶
__construct()
            ¶
    
        
        BeforeUpdateSegmentEvent.php
                :
        24
                 
    
        |  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $segment | Segment | - | - | 
| $updateStruct | SegmentUpdateStruct | - | - | 
| $segmentResult | Segment|null | null | - | 
                 getSegment()
            ¶
getSegment()
            ¶
    
        
        BeforeUpdateSegmentEvent.php
                :
        31
                 
    
        |  |  | 
Return values
Segment
                 getSegmentResult()
            ¶
getSegmentResult()
            ¶
    
        
        BeforeUpdateSegmentEvent.php
                :
        41
                 
    
        |  |  | 
Return values
Segment
                 getUpdateStruct()
            ¶
getUpdateStruct()
            ¶
    
        
        BeforeUpdateSegmentEvent.php
                :
        36
                 
    
        |  |  | 
Return values
SegmentUpdateStruct
                 hasSegmentResult()
            ¶
hasSegmentResult()
            ¶
    
        
        BeforeUpdateSegmentEvent.php
                :
        57
                 
    
        |  |  | 
Return values
bool
                 isPropagationStopped()
            ¶
isPropagationStopped()
            ¶
    
        
        Event.php
                :
        38
                 
    
        |  |  | 
Return values
bool
                 setSegmentResult()
            ¶
setSegmentResult()
            ¶
    
        
        BeforeUpdateSegmentEvent.php
                :
        52
                 
    
        |  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $segmentResult | Segment|null | - | - | 
                 stopPropagation()
            ¶
stopPropagation()
            ¶
    
        
        Event.php
                :
        50
                 
    
        Stops the propagation of the event to further event listeners.
|  |  | 
If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().