Skip to content

Commit 7486d19

Browse files
authored
Merge pull request #312 from laminas/3.12.x-merge-up-into-3.13.x_cyO4yNFP
Merge release 3.12.2 into 3.13.x
2 parents 5218208 + f99d10d commit 7486d19

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

docs/book/v3/storage/adapter.md

+12-11
Original file line numberDiff line numberDiff line change
@@ -796,17 +796,18 @@ Capability | Value
796796

797797
### Adapter Specific Options
798798

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 |
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. |
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. |
810811

811812
## Memory Adapter
812813

0 commit comments

Comments
 (0)