Total Complexity | 2 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
23 | class Check extends CheckAbstract |
||
24 | { |
||
25 | /** |
||
26 | * @var Memcached |
||
27 | */ |
||
28 | private $checker; |
||
29 | |||
30 | /** |
||
31 | * @param string $host |
||
32 | * @param int $port |
||
33 | * |
||
34 | * @throws \InvalidArgumentException if host is not a string value |
||
35 | * @throws \InvalidArgumentException if port is less than 1 |
||
36 | */ |
||
37 | 2 | public function __construct($host = '127.0.0.1', $port = 11211) |
|
40 | 2 | } |
|
41 | |||
42 | /** |
||
43 | * {@inheritdoc} |
||
44 | */ |
||
45 | 2 | public function check() |
|
50 |