1 | <?php |
||
7 | class MemoryContributor implements HealthContributor |
||
8 | { |
||
9 | 1 | public function run(): array |
|
16 | |||
17 | /** |
||
18 | * Return the memory free in kbytes |
||
19 | */ |
||
20 | 1 | private function getMemoryFree(): int |
|
24 | |||
25 | /** |
||
26 | * Return the maximum memory allocated to php in kbytes |
||
27 | */ |
||
28 | 1 | private function getMemoryAllocated(): int |
|
32 | |||
33 | /** |
||
34 | * Return the memory usage in kbytes |
||
35 | */ |
||
36 | 1 | private function getMemoryUsage(): int |
|
40 | } |
||
41 |