메소드 |
설명 |
|
__construct ( mixed $inputs ) |
Set up attributes needed for experiment |
|
addExperiment ( string $name, string $exp_class, integer $num_segments ) |
Map a new experiment to a given number of segments in the namespace |
|
get ( string $name, string $default ) : the |
Get the value of a given experiment parameter - triggers exposure log |
|
inExperiment ( ) : boolean |
In-experiment accessor |
|
logEvent ( string $eventType, array $extras = null ) |
Log an arbitrary event |
|
logExposure ( array $extras = null ) |
Logs exposure to treatment |
|
removeExperiment ( string $name ) |
Remove a given experiment from the namespace and free its associated segments |
|
setAutoExposureLogging ( boolean $value ) |
Disables / enables auto exposure logging (enabled by default) |
|