1 | <?php |
||
14 | class StatsConfig |
||
15 | { |
||
16 | /** |
||
17 | * |
||
18 | * @var number |
||
19 | */ |
||
20 | private $confidenceLevel; |
||
21 | |||
22 | /** |
||
23 | * The type of test to compare the variant to baseline. Can be absolute or relative |
||
24 | * @var string |
||
25 | */ |
||
26 | private $differenceType; |
||
27 | |||
28 | /** |
||
29 | * Indicates if epoch-based statistics were used |
||
30 | * @var boolean |
||
31 | */ |
||
32 | private $epochEnabled; |
||
33 | |||
34 | /** |
||
35 | * Constructor. |
||
36 | */ |
||
37 | public function __construct($options = array()) |
||
49 | |||
50 | /** |
||
51 | * Returns this object as array. |
||
52 | */ |
||
53 | public function toArray() |
||
70 | |||
71 | public function getConfidenceLevel() |
||
75 | |||
76 | public function setConfidenceLevel($confidenceLevel) |
||
80 | |||
81 | public function getDifferenceType() |
||
85 | |||
86 | public function setDifferenceType($differenceType) |
||
90 | |||
91 | public function getEpochEnabled() |
||
95 | |||
96 | public function setEpochEnabled($epochEnabled) |
||
100 | } |
||
101 | |||
111 |