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
Copy file name to clipboardexpand all lines: docs/book/v3/storage/adapter.md
+12-11
Original file line number
Diff line number
Diff line change
@@ -796,17 +796,18 @@ Capability | Value
796
796
797
797
### Adapter Specific Options
798
798
799
-
Name | Data Type | Default Value | Description
800
-
---- | --------- | ------------- | -----------
801
-
`lib_options` | `array` | `[]` | Associative array of Redis options where the array key is the options constant value (see `RedisCluster::OPT_*`[constants](https://github.com/JetBrains/phpstorm-stubs/blob/master/redis/RedisCluster.php) for details).
802
-
`namespace_separator` | `string` | ":" | A separator for the namespace and prefix.
803
-
`password` | `string` | "" | Password to authenticate with Redis server
804
-
`name` | `string` | "" | Name to determine configuration from [php.ini](https://github.com/phpredis/phpredis/blob/develop/cluster.markdown#loading-a-cluster-configuration-by-name) (**MUST NOT** be combined with `seeds`)
805
-
`seeds` | `array` | `[]` | List of strings containing `<hostname>:<port>` (**MUST NOT** be combined with `name`)
806
-
`timeout` | `float` | `1.0` | Timeout for commands, see [PhpRedis](https://github.com/phpredis/phpredis/blob/develop/cluster.markdown#timeouts) timeouts documentation for more background.
807
-
`read_timeout` | `float` | `2.0` | Read timeout for commands, see [PhpRedis](https://github.com/phpredis/phpredis/blob/develop/cluster.markdown#timeouts) timeouts documentation for more background.
808
-
`persistent` | `bool` | `false` | Flag to specify whether to create a persistent connection or not
809
-
`version` | `string` | "" | The Redis server version. **MUST** be specified in a [Semantic Versioning 2.0.0](https://semver.org/#semantic-versioning-200) format. This information is used to determine some features/capabilities without opening a connection to the server.
799
+
| Name | Data Type | Default Value | Description |
|`lib_options`|`array`|`[]`| Associative array of Redis options where the array key is the options constant value (see `RedisCluster::OPT_*`[constants](https://github.com/JetBrains/phpstorm-stubs/blob/master/redis/RedisCluster.php) for details). |
802
+
|`namespace_separator`|`string`| ":" | A separator for the namespace and prefix. |
803
+
|`password`|`string`| "" | Password to authenticate with Redis server |
804
+
|`name`|`string`| "" | Name to determine configuration from [php.ini](https://github.com/phpredis/phpredis/blob/develop/cluster.markdown#loading-a-cluster-configuration-by-name) (**MUST NOT** be combined with `seeds`) |
805
+
|`seeds`|`array`|`[]`| List of strings containing `<hostname>:<port>` (**MUST NOT** be combined with `name`) |
806
+
|`timeout`|`float`|`1.0`| Timeout for commands, see [PhpRedis](https://github.com/phpredis/phpredis/blob/develop/cluster.markdown#timeouts) timeouts documentation for more background. |
807
+
|`read_timeout`|`float`|`2.0`| Read timeout for commands, see [PhpRedis](https://github.com/phpredis/phpredis/blob/develop/cluster.markdown#timeouts) timeouts documentation for more background. |
808
+
|`persistent`|`bool`|`false`| Flag to specify whether to create a persistent connection or not |
809
+
|`version`|`string`| "" | The Redis server version. **MUST** be specified in a [Semantic Versioning 2.0.0](https://semver.org/#semantic-versioning-200) format. This information is used to determine some features/capabilities without opening a connection to the server. |
810
+
|`ssl_context`|`array\|SslContext\|null`|`null`| Associative array with [SSL context](https://www.php.net/manual/en/context.ssl.php) options. Can be also an instance of `SslContext` (class available from within the `redis` adapter). Available since adapter version v2.8.0. |
0 commit comments