1 | <?php |
||
5 | final class FilePathCandidates implements \IteratorAggregate |
||
6 | { |
||
7 | private $filePaths = []; |
||
8 | |||
9 | private function __construct(array $filePaths = []) |
||
15 | |||
16 | public static function create() |
||
20 | |||
21 | public static function fromFilePaths(array $filePaths) |
||
25 | |||
26 | public function toArray(): array |
||
30 | |||
31 | public function add(FilePath $filePath) |
||
35 | |||
36 | public function best(): FilePath |
||
46 | |||
47 | public function noneFound(): bool |
||
51 | |||
52 | public function getIterator() |
||
56 | } |
||
57 |