File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
src/LaunchDarkly/Integrations Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,18 @@ public static function featureRequester(ClientInterface $client, array $options
40
40
}
41
41
42
42
/**
43
+ * Configures a big segment store instance backed by Redis.
44
+ *
45
+ * After calling this method, store its return value in the `store` property of your Big Segment configuration:
46
+ *
47
+ * $store = LaunchDarkly\Integrations\Redis::bigSegmentStore(["prefix" => "env1"]);
48
+ * $bigSegmentsConfig = new LaunchDarkly\BigSegmentConfig(store: $store);
49
+ * $config = ["big_segment" => $bigSegmentsConfig];
50
+ * $client = new LDClient("sdk_key", $config);
51
+ *
52
+ * For more about using LaunchDarkly with databases, see the
53
+ * [SDK reference guide](https://docs.launchdarkly.com/sdk/features/storing-data).
54
+ *
43
55
* @param array<string,mixed> $options
44
56
* - `prefix`: a string to be prepended to all database keys; corresponds
45
57
* to the prefix setting in ld-relay
You can’t perform that action at this time.
0 commit comments