| 1 | <?php |
||
| 10 | abstract class Command extends ConsoleCommand |
||
| 11 | { |
||
| 12 | use ConfirmableTrait; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var Filesystem |
||
| 16 | */ |
||
| 17 | protected $files; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var Repository |
||
| 21 | */ |
||
| 22 | protected $config; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Execute the console command. |
||
| 26 | * |
||
| 27 | * @param Filesystem $files |
||
| 28 | */ |
||
| 29 | public function fire(Filesystem $files) |
||
| 46 | |||
| 47 | abstract protected function runInstaller(); |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @return Filesystem |
||
| 51 | */ |
||
| 52 | public function files() |
||
| 56 | } |
||
| 57 |