@@ -25,9 +25,9 @@ to utilize a cluster of servers to provide redundancy and/or fail-over is also a
2525
2626 **Requirements: ** At least one `Redis server `_ must be installed and running to use this
2727 adapter. Additionally, this adapter requires a compatible extension or library that implements
28- ``\Redis ``, ``\RedisArray ``, ``RedisCluster ``, or ``\Predis ``.
28+ ``\Redis ``, ``\RedisArray ``, ``RedisCluster ``,`` \Relay\Relay `` or ``\Predis ``.
2929
30- This adapter expects a `Redis `_, `RedisArray `_, `RedisCluster `_, or `Predis `_ instance to be
30+ This adapter expects a `Redis `_, `RedisArray `_, `RedisCluster `_,` Relay `_ or `Predis `_ instance to be
3131passed as the first parameter. A namespace and default cache lifetime can optionally be passed
3232as the second and third parameters::
3333
@@ -47,6 +47,10 @@ as the second and third parameters::
4747 $defaultLifetime = 0
4848 );
4949
50+ ..versionadded ::6.3
51+
52+ Support for `Relay `_ was introduced in Symfony 6.3.
53+
5054Configure the Connection
5155------------------------
5256
@@ -165,10 +169,14 @@ array of ``key => value`` pairs representing option names and their respective v
165169Available Options
166170~~~~~~~~~~~~~~~~~
167171
172+ ..versionadded ::6.3
173+
174+ ``\Relay\Relay `` support was introduced in Symfony 6.3.
175+
168176``class `` (type: ``string ``, default: ``null ``)
169- Specifies the connection library to return, either ``\Redis `` or ``\Predis\Client ``.
170- If none is specified,it will return `` \Redis `` if the `` redis `` extension is
171- available, and ``\Predis\Client `` otherwise . Explicitly set this to ``\Predis\Client `` for Sentinel if you are
177+ Specifies the connection library to return, either ``\Redis ``, `` \Relay\Relay `` or ``\Predis\Client ``.
178+ If none is specified,fallback value is in following order, depending which one is available first:
179+ `` \Redis ``, `` \Relay\Relay ``, ``\Predis\Client ``. Explicitly set this to ``\Predis\Client `` for Sentinel if you are
172180 running into issues when retrieving master information.
173181
174182``persistent `` (type: ``int ``, default: ``0 ``)
@@ -258,6 +266,7 @@ Read more about this topic in the official `Redis LRU Cache Documentation`_.
258266.. _`Redis` :https://github.com/phpredis/phpredis
259267.. _`RedisArray` :https://github.com/phpredis/phpredis/blob/master/arrays.markdown#readme
260268.. _`RedisCluster` :https://github.com/phpredis/phpredis/blob/master/cluster.markdown#readme
269+ .. _`Relay` :https://relay.so/
261270.. _`Predis` :https://packagist.org/packages/predis/predis
262271.. _`Predis Connection Parameters` :https://github.com/nrk/predis/wiki/Connection-Parameters#list-of-connection-parameters
263272.. _`TCP-keepalive` :https://redis.io/topics/clients#tcp-keepalive