1 | <?php |
||
19 | class LoadCommands extends Bootstrapper |
||
20 | { |
||
21 | /** |
||
22 | * The application's core commands. |
||
23 | * |
||
24 | * @var string[] |
||
25 | */ |
||
26 | protected $commands = [ |
||
27 | Scheduling\ScheduleRunCommand::class, |
||
28 | Scheduling\ScheduleFinishCommand::class, |
||
29 | ]; |
||
30 | |||
31 | /** |
||
32 | * The application's development commands. |
||
33 | * |
||
34 | * @var string[] |
||
35 | */ |
||
36 | protected $developmentCommands = [ |
||
37 | Commands\App\Builder::class, |
||
38 | Commands\App\Renamer::class, |
||
39 | Commands\Component\Installer::class, |
||
40 | ]; |
||
41 | |||
42 | /** |
||
43 | * {@inheritdoc} |
||
44 | */ |
||
45 | public function bootstrap(): void |
||
77 | |||
78 | /** |
||
79 | * Returns the detected commands. |
||
80 | * |
||
81 | * @param \Illuminate\Contracts\Config\Repository $config |
||
82 | * |
||
83 | * @return array |
||
84 | */ |
||
85 | protected function getDetectedCommands(Repository $config): array |
||
103 | } |
||
104 |