1 | <?php |
||
20 | abstract class VersionedRedisSentinelManager extends RedisManager |
||
21 | { |
||
22 | /** |
||
23 | * Get the Redis Connection instance represented by the specified name |
||
24 | * |
||
25 | * @param string|null $name The name of the connection as defined in the |
||
26 | * configuration |
||
27 | * |
||
28 | * @return \Illuminate\Redis\Connections\PredisConnection The configured |
||
29 | * Redis Connection instance |
||
30 | * |
||
31 | * @throws InvalidArgumentException If attempting to initialize a Redis |
||
32 | * Cluster connection |
||
33 | * @throws InvalidArgumentException If the specified connection is not |
||
34 | * defined in the configuration |
||
35 | */ |
||
36 | protected function resolveConnection($name = null) |
||
55 | |||
56 | /** |
||
57 | * Get the appropriate Connector instance for the current client driver |
||
58 | * |
||
59 | * @return Connectors\PredisConnector The Connector instance for the |
||
60 | * current driver |
||
61 | * |
||
62 | * @throws InvalidArgumentException If the current client driver is not |
||
63 | * supported |
||
64 | */ |
||
65 | protected function connector() |
||
79 | } |
||
80 |