-
-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation: Add ssl_context
option to RedisCluster
documentation
#300
Documentation: Add ssl_context
option to RedisCluster
documentation
#300
Conversation
Signed-off-by: Maximilian Bösing <[email protected]>
b9924f9
to
cb716eb
Compare
| 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). | | ||
| `namespace_separator` | `string` | ":" | A separator for the namespace and prefix. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `namespace_separator` | `string` | ":" | A separator for the namespace and prefix. | | |
| `namespace_separator` | `string` | `:` | A separator for the namespace and prefix. | |
|-----------------------|---------------------------|---------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| `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). | | ||
| `namespace_separator` | `string` | ":" | A separator for the namespace and prefix. | | ||
| `password` | `string` | "" | Password to authenticate with Redis server | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest a comment like "(empty)" as the default value.
| `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). | | ||
| `namespace_separator` | `string` | ":" | A separator for the namespace and prefix. | | ||
| `password` | `string` | "" | Password to authenticate with Redis server | | ||
| `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`) | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same suggestion here.
| `timeout` | `float` | `1.0` | Timeout for commands, see [PhpRedis](https://github.com/phpredis/phpredis/blob/develop/cluster.markdown#timeouts) timeouts documentation for more background. | | ||
| `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. | | ||
| `persistent` | `bool` | `false` | Flag to specify whether to create a persistent connection or not | | ||
| `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. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And here.
@froschdesign I keep the suggestions here open as they should be done indeed but actually only appeared due to the fact that I reformatted all the tables to match markdown codingstyle. Contents where not changed by me and thus lets keep this focused on adding I am still unhappy with the way how adapter configuration has to be maintained.
I'd like to still see all the docs regarding an adapter listed in the appropriate satellites. So we can provide dedicated cache page the same way we do for https://docs.laminas.dev/mvc/ This said, I will merge this for now so that we have the SSL context properly documented. |
Description
This adds the documentation of the new created
ssl_options
option flag forRedisCluster
options.Closes #299
Is a new patch version feasible, this component does actually not change at all.