Total Complexity | 6 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | class ArrayConverter |
||
17 | { |
||
18 | private static $value = ''; |
||
19 | |||
20 | /** |
||
21 | * This helper converts a (part of) a configuration array to a string |
||
22 | * The config elements will be listed and shown when using a console command |
||
23 | * |
||
24 | * @param array $array |
||
25 | * @param int $level |
||
26 | * @return string |
||
27 | */ |
||
28 | public static function recursive(array $array, int $level = 1): string |
||
50 |