| Total Complexity | 6 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Coverage | 93.33% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class FilesPathService |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @param string[] $patterns |
||
| 11 | * @return string[] |
||
| 12 | */ |
||
| 13 | 14 | public static function getPathToFiles(array $patterns): array |
|
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param string $pattern |
||
| 32 | * @return string[] |
||
| 33 | * |
||
| 34 | * @link https://www.php.net/manual/en/function.glob.php#106595 |
||
| 35 | */ |
||
| 36 | 12 | private static function globRecursive(string $pattern): array |
|
| 48 |