| Total Complexity | 2 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | class Check extends CheckAbstract |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * @var ApcMemory |
||
| 27 | */ |
||
| 28 | private $checker; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param int $warningThreshold A number between 0 and 100 |
||
| 32 | * @param int $criticalThreshold A number between 0 and 100 |
||
| 33 | * |
||
| 34 | * @throws \InvalidArgumentException |
||
| 35 | */ |
||
| 36 | 2 | public function __construct($warningThreshold, $criticalThreshold) |
|
| 37 | { |
||
| 38 | 2 | $this->checker = new ApcMemory($warningThreshold, $criticalThreshold); |
|
| 39 | 2 | } |
|
| 40 | |||
| 41 | /** |
||
| 42 | * {@inheritdoc} |
||
| 43 | */ |
||
| 44 | 2 | public function check() |
|
| 47 | } |
||
| 48 | } |
||
| 49 |