Total Complexity | 2 |
Total Lines | 45 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class DiskSpace extends BaseCheck implements HealthCheckInterface |
||
9 | { |
||
10 | |||
11 | use FormatTrait; |
||
12 | |||
13 | /** |
||
14 | * Default disk space threshold of 100 MB |
||
15 | * |
||
16 | * @var integer |
||
17 | */ |
||
18 | const DEFAULT_THRESHOLD = 100000000; |
||
19 | |||
20 | /** |
||
21 | * Default Path |
||
22 | * |
||
23 | * @var string |
||
24 | */ |
||
25 | const DEFAULT_PATH = '/'; |
||
26 | |||
27 | /** |
||
28 | * |
||
29 | * {@inheritdoc} |
||
30 | * @see \Health\Checks\HealthCheckInterface::call() |
||
31 | */ |
||
32 | public function call() |
||
55 |