| 1 | <?php |
||
| 14 | class RedisAdapter extends AbstractAdapter |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @param array $connections |
||
| 18 | * @param CacheAdapter $next |
||
| 19 | * |
||
| 20 | * @throws \Exception |
||
| 21 | */ |
||
| 22 | public function __construct(array $connections, CacheAdapter $next = null) |
||
| 39 | |||
| 40 | |||
| 41 | /** |
||
| 42 | * Checks the availability of the cache service. |
||
| 43 | * |
||
| 44 | * @return bool |
||
| 45 | */ |
||
| 46 | public function isAvailable() |
||
| 57 | |||
| 58 | /** |
||
| 59 | * @throws \Exception |
||
| 60 | * @codeCoverageIgnore |
||
| 61 | */ |
||
| 62 | private function isRedisExtensionAvailable() |
||
| 73 | } |
||
| 74 |