Total Complexity | 7 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class FileFinder implements FinderInterface |
||
8 | { |
||
9 | /** |
||
10 | * @var string[] |
||
11 | */ |
||
12 | private $paths; |
||
13 | |||
14 | /** |
||
15 | * @var int |
||
16 | */ |
||
17 | private $flags = \FilesystemIterator::FOLLOW_SYMLINKS | \FilesystemIterator::CURRENT_AS_FILEINFO; |
||
18 | |||
19 | 1 | public function __construct(array $paths = []) |
|
22 | 1 | } |
|
23 | |||
24 | 1 | public function addPath(string $path): FinderInterface |
|
29 | } |
||
30 | |||
31 | 1 | public function getIterator(): \Traversable |
|
48 |