SegmentationServiceDecorator
SegmentationServiceDecorator.php
:
19
Implements
SegmentationServiceInterface
Properties¶
$innerService¶
SegmentationServiceDecorator.php
:
21
|
|
Methods¶
__construct() ¶
SegmentationServiceDecorator.php
:
23
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$innerService | SegmentationServiceInterface | - | - |
assignUserToSegment() ¶
SegmentationServiceDecorator.php
:
103
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$user | User | - | - |
$segment | Segment | - | - |
createSegment() ¶
SegmentationServiceDecorator.php
:
38
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$createStruct | SegmentCreateStruct | - | - |
Return values
Segment
createSegmentGroup() ¶
SegmentationServiceDecorator.php
:
68
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$createStruct | SegmentGroupCreateStruct | - | - |
Return values
SegmentGroup
isUserAssignedToSegment() ¶
SegmentationServiceDecorator.php
:
98
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$user | User | - | - |
$segment | Segment | - | - |
Return values
bool
loadSegment() ¶
SegmentationServiceDecorator.php
:
28
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$segmentId | int | - | - |
Return values
Segment
loadSegmentByIdentifier() ¶
SegmentationServiceDecorator.php
:
33
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$identifier | string | - | - |
Return values
Segment
loadSegmentGroup() ¶
SegmentationServiceDecorator.php
:
58
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$segmentGroupId | int | - | - |
Return values
SegmentGroup
loadSegmentGroupByIdentifier() ¶
SegmentationServiceDecorator.php
:
63
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$identifier | string | - | - |
Return values
SegmentGroup
loadSegmentGroups() ¶
SegmentationServiceDecorator.php
:
83
|
|
Return values
array<string|int, SegmentGroup>
loadSegmentsAssignedToCurrentUser() ¶
SegmentationServiceDecorator.php
:
93
|
|
Return values
array<string|int, Segment>
loadSegmentsAssignedToGroup() ¶
SegmentationServiceDecorator.php
:
53
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$segmentGroup | SegmentGroup | - | - |
Return values
array<string|int, Segment>
loadSegmentsAssignedToUser() ¶
SegmentationServiceDecorator.php
:
88
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$user | User | - | - |
Return values
array<string|int, Segment>
removeSegment() ¶
SegmentationServiceDecorator.php
:
48
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$segment | Segment | - | - |
removeSegmentGroup() ¶
SegmentationServiceDecorator.php
:
78
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$segmentGroup | SegmentGroup | - | - |
unassignUserFromSegment() ¶
SegmentationServiceDecorator.php
:
108
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$user | User | - | - |
$segment | Segment | - | - |
updateSegment() ¶
SegmentationServiceDecorator.php
:
43
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$segment | mixed | - | - |
$updateStruct | SegmentUpdateStruct | - | - |
Return values
Segment
updateSegmentGroup() ¶
SegmentationServiceDecorator.php
:
73
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$segmentGroup | mixed | - | - |
$updateStruct | SegmentGroupUpdateStruct | - | - |
Return values
SegmentGroup