| Total Complexity | 4 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class CommandFinder extends Finder implements CommandFinderInterface |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | private $directory; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var bool |
||
| 18 | */ |
||
| 19 | private $recursive; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * CommandFinder constructor. |
||
| 23 | * |
||
| 24 | * @param string $directory |
||
| 25 | * @param bool $recursive |
||
| 26 | */ |
||
| 27 | 3 | public function __construct(string $directory, bool $recursive) |
|
| 33 | 3 | } |
|
| 34 | |||
| 35 | /** |
||
| 36 | * @return bool |
||
| 37 | */ |
||
| 38 | 3 | public function isDir() : bool |
|
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @return \Symfony\Component\Finder\Finder |
||
| 45 | */ |
||
| 46 | 2 | public function getCommandClasses(): Finder |
|
| 52 | } |
||
| 53 | } |