Connection.php
2 years ago
Connector.php
2 years ago
Factory.php
2 years ago
LimiterTimeoutException.php
2 years ago
Connector.php
26 lines
| 1 | <?php |
| 2 | |
| 3 | namespace IAWPSCOPED\Illuminate\Contracts\Redis; |
| 4 | |
| 5 | /** @internal */ |
| 6 | interface Connector |
| 7 | { |
| 8 | /** |
| 9 | * Create a connection to a Redis cluster. |
| 10 | * |
| 11 | * @param array $config |
| 12 | * @param array $options |
| 13 | * @return \Illuminate\Redis\Connections\Connection |
| 14 | */ |
| 15 | public function connect(array $config, array $options); |
| 16 | /** |
| 17 | * Create a connection to a Redis instance. |
| 18 | * |
| 19 | * @param array $config |
| 20 | * @param array $clusterOptions |
| 21 | * @param array $options |
| 22 | * @return \Illuminate\Redis\Connections\Connection |
| 23 | */ |
| 24 | public function connectToCluster(array $config, array $clusterOptions, array $options); |
| 25 | } |
| 26 |