Total Complexity | 4 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 3 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
7 | class YamlFilesPathService |
||
8 | { |
||
9 | /** |
||
10 | * @param string[] $patterns |
||
11 | * @return string[] |
||
12 | */ |
||
13 | 13 | public static function getPathToYamlFiles(array $patterns): array |
|
24 | } |
||
25 | |||
26 | /** |
||
27 | * @param string $pattern |
||
28 | * @return string[] |
||
29 | * |
||
30 | * @link https://www.php.net/manual/en/function.glob.php#106595 |
||
31 | */ |
||
32 | 13 | private static function globRecursive(string $pattern): array |
|
43 |