You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Force a user into a variation for a given experiment.
45
46
*
46
47
* @param $experimentKey string Key identifying the experiment.
47
-
*@param $userId string The user ID to be used for bucketing.
48
-
*@param $variationKey string The variation key specifies the variation which the user
48
+
* @param $userId string The user ID to be used for bucketing.
49
+
* @param $variationKey string The variation key specifies the variation which the user
49
50
* will be forced into. If null, then clear the existing experiment-to-variation mapping.
50
51
*
51
-
*@return boolean A boolean value that indicates if the set completed successfully.
52
+
* @return boolean A boolean value that indicates if the set completed successfully.
52
53
*/
53
54
```
54
55
```
@@ -58,14 +59,14 @@ public function setForcedVariation($experimentKey, $userId, $variationKey);
58
59
* Gets the forced variation for a given user and experiment.
59
60
*
60
61
* @param $experimentKey string Key identifying the experiment.
61
-
*@param $userId string The user ID to be used for bucketing.
62
+
* @param $userId string The user ID to be used for bucketing.
62
63
*
63
64
* @return string|null The forced variation key.
64
65
*/
65
66
public function getForcedVariation($experimentKey, $userId);
66
67
```
67
68
68
-
- Added the bucketing ID feature allows decoupling bucketing from user identification so that a group of users that have the same bucketing ID are put into the same variation.
69
+
- Added the bucketing ID feature allows decoupling bucketing from user identification so that a group of users that have the same bucketing ID are put into the same variation.
0 commit comments