| Total Complexity | 2 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class DefinitionFinder implements DefinitionFinderInterface |
||
| 9 | { |
||
| 10 | protected const IN_PATTERN = '{,vendor/*/*/}src/*/*/Transfer/'; |
||
| 11 | protected const NAME_PATTERN = '*.transfer.json'; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | protected $rootDir; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var \Jellyfish\Finder\FinderFactoryInterface |
||
| 20 | */ |
||
| 21 | protected $finderFactory; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param \Jellyfish\Finder\FinderFactoryInterface $finderFactory |
||
| 25 | * @param string $rootDir |
||
| 26 | */ |
||
| 27 | public function __construct( |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @return \Iterator |
||
| 37 | */ |
||
| 38 | public function find(): Iterator |
||
| 47 |