1 | <?php |
||
21 | abstract class Command extends BaseCommand |
||
22 | { |
||
23 | /** |
||
24 | * Holds an instance of the app, if any. |
||
25 | * |
||
26 | * @var \Illuminate\Contracts\Foundation\Application|null |
||
27 | */ |
||
28 | protected $app; |
||
29 | |||
30 | /** |
||
31 | * Execute the console command. |
||
32 | * |
||
33 | * @return void |
||
34 | */ |
||
35 | public function handle(): void |
||
39 | |||
40 | /** |
||
41 | * Define the command's schedule. |
||
42 | * |
||
43 | * @param \Illuminate\Console\Scheduling\Schedule $schedule |
||
44 | * |
||
45 | * @return void |
||
46 | */ |
||
47 | 20 | public function schedule(Schedule $schedule): void |
|
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | 20 | public function setLaravel($laravel) |
|
58 | } |
||
59 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.