Total Complexity | 5 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class ModuleHealthLoader extends ApiLoader |
||
9 | { |
||
10 | /** |
||
11 | * @var string[] |
||
12 | */ |
||
13 | protected $moduleNames = []; |
||
14 | |||
15 | /** |
||
16 | * Return the list of supported addons as provided by addons.silverstripe.org |
||
17 | * |
||
18 | * @return array |
||
19 | */ |
||
20 | public function getModuleHealthInfo() |
||
26 | }); |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * @return string[] |
||
31 | */ |
||
32 | public function getModuleNames() |
||
33 | { |
||
34 | return $this->moduleNames; |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * @param string[] $moduleNames |
||
39 | * @return $this |
||
40 | */ |
||
41 | public function setModuleNames(array $moduleNames) |
||
45 | } |
||
46 | |||
47 | protected function getCacheKey() |
||
50 | } |
||
51 | } |
||
52 |