Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
33 | public function collectAllNames($appNames = []) |
||
34 | { |
||
35 | $appNames = array_fill_keys($appNames, 1); |
||
36 | $appNames = array_change_key_case($appNames, CASE_LOWER); |
||
37 | |||
38 | $path = new FileLocator(__DIR__.'/../Resources/config/'); |
||
39 | $cfgNames = require $path->locate('reserved_names.php'); |
||
40 | |||
41 | return array_merge($cfgNames, $appNames); |
||
42 | } |
||
44 |