1 | <?php declare(strict_types=1); |
||
9 | class ConfigFileFinder |
||
10 | { |
||
11 | const VALID_FILE_NAME_GLOB = '.psh.*'; |
||
12 | |||
13 | public function discoverFiles(string $fromDirectory): array |
||
35 | |||
36 | /** |
||
37 | * @param string[] $configFiles |
||
38 | * @return string |
||
39 | */ |
||
40 | private function preferNonDistributionFiles(array $configFiles): string |
||
51 | |||
52 | /** |
||
53 | * @param array $configFiles |
||
54 | * @return string |
||
55 | */ |
||
56 | private function getOverrideFile(array $configFiles): string |
||
66 | } |
||
67 |