| Total Complexity | 3 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 71.43% |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | class Check extends CheckAbstract |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * @param string $host |
||
| 25 | * @param int $port |
||
| 26 | * @param string|null $auth |
||
| 27 | */ |
||
| 28 | 2 | public function __construct($host = 'localhost', $port = 6379, $auth = null) |
|
| 29 | { |
||
| 30 | 2 | $this->checker = new Redis($host, $port, $auth); |
|
| 31 | 2 | } |
|
| 32 | |||
| 33 | /** |
||
| 34 | * Perform the check. |
||
| 35 | * |
||
| 36 | * @see \ZendDiagnostics\Check\CheckInterface::check() |
||
| 37 | */ |
||
| 38 | 2 | public function check() |
|
| 44 | } |
||
| 45 | } |
||
| 47 |