Documentation

SetStrategy
in package

Table of Contents

$featureId  : FeatureId
$segments  : array<string|int, mixed>
$strategyId  : StrategyId
$strategyType  : StrategyType
featureId()  : FeatureId
segments()  : array<string|int, Segment>
strategyId()  : StrategyId
strategyType()  : StrategyType
withIdTypeAndSegments()  : static
__construct()  : mixed
AddStrategy constructor.

Properties

$segments

private array<string|int, mixed> $segments

Methods

withIdTypeAndSegments()

public static withIdTypeAndSegments(string $featureId, string $strategyId, string $strategyType[, array<string|int, array<string, mixed>> $segments = [] ]) : static
Parameters
$featureId : string
$strategyId : string
$strategyType : string
$segments : array<string|int, array<string, mixed>> = []
Return values
static

__construct()

AddStrategy constructor.

private __construct(string $featureId, string $strategyId, string $strategyType, array<string|int, array<string, mixed>> $segments) : mixed
Parameters
$featureId : string
$strategyId : string
$strategyType : string
$segments : array<string|int, array<string, mixed>>
Return values
mixed

Search results