Experiment
in package
Table of Contents
- $googleId : string
- Google's Experiment ID
- $id : string
- Experiment ID
- $name : string
- Experiment Name/Label
- $variations : array<string|int, mixed>
- Prismic Variations/Releases
- getGoogleId() : string|null
- getId() : string
- getName() : string
- getVariations() : array<string|int, Variation>
- parse() : self
- __construct() : mixed
Properties
$googleId
Google's Experiment ID
private
string
$googleId
$id
Experiment ID
private
string
$id
$name
Experiment Name/Label
private
string
$name
$variations
Prismic Variations/Releases
private
array<string|int, mixed>
$variations
Methods
getGoogleId()
public
getGoogleId() : string|null
Return values
string|null —getId()
public
getId() : string
Return values
string —getName()
public
getName() : string
Return values
string —getVariations()
public
getVariations() : array<string|int, Variation>
Return values
array<string|int, Variation> —parse()
public
static parse(stdClass $json) : self
Parameters
- $json : stdClass
Return values
self —__construct()
private
__construct(string $id, string|null $googleId, string $name, array<string|int, mixed> $variations) : mixed
Parameters
- $id : string
- $googleId : string|null
- $name : string
- $variations : array<string|int, mixed>