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
4040 }
4141
4242 /**
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+ *
4355 * @param array<string,mixed> $options
4456 * - `prefix`: a string to be prepended to all database keys; corresponds
4557 * to the prefix setting in ld-relay
You can’t perform that action at this time.
0 commit comments