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) |
|
34 | |||
35 | /** |
||
36 | * @return bool |
||
37 | */ |
||
38 | 3 | public function isDir() : bool |
|
42 | |||
43 | /** |
||
44 | * @return Finder |
||
45 | */ |
||
46 | 2 | public function getCommandClasses() |
|
53 | } |