1 | <?php |
||
7 | abstract class CommandAbstract extends Command |
||
8 | { |
||
9 | /** |
||
10 | * Paths to files which should automatically be opened in IDE if the |
||
11 | * option --ide is set (and IDE capable). |
||
12 | * |
||
13 | * @var array |
||
14 | */ |
||
15 | public $filesToBeOpened = []; |
||
16 | |||
17 | /** |
||
18 | * The name of the entity being created. |
||
19 | * |
||
20 | * @var string |
||
21 | */ |
||
22 | public $entity; |
||
23 | |||
24 | /** |
||
25 | * The naming classes. |
||
26 | * |
||
27 | * @var array |
||
28 | */ |
||
29 | public $naming = []; |
||
30 | |||
31 | /** |
||
32 | * Adds file to $filesToBeOpened stack. |
||
33 | * |
||
34 | * @param $file |
||
35 | * @return void |
||
36 | */ |
||
37 | public function addFile(?\SplFileInfo $file): void |
||
43 | } |
||
44 |