| Total Complexity | 5 |
| Total Lines | 57 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class Finder implements FinderInterface |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var \Symfony\Component\Finder\Finder |
||
| 13 | */ |
||
| 14 | protected $symfonyFinder; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param \Symfony\Component\Finder\Finder $symfonyFinder |
||
| 18 | */ |
||
| 19 | public function __construct(SymfonyFinder $symfonyFinder) |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param string $directory |
||
| 26 | * |
||
| 27 | * @return \Jellyfish\Finder\FinderInterface |
||
| 28 | */ |
||
| 29 | public function in(string $directory): FinderInterface |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param string $pattern |
||
| 38 | * |
||
| 39 | * @return \Jellyfish\Finder\FinderInterface |
||
| 40 | */ |
||
| 41 | public function name(string $pattern): FinderInterface |
||
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @param int $level |
||
| 50 | * |
||
| 51 | * @return \Jellyfish\Finder\FinderInterface |
||
| 52 | */ |
||
| 53 | public function depth(int $level): FinderInterface |
||
| 58 | } |
||
| 59 | |||
| 60 | /** |
||
| 61 | * @return \Iterator |
||
| 62 | */ |
||
| 63 | public function getIterator(): Iterator |
||
| 68 |