1 | <?php |
||
11 | class UpdateAll extends Command |
||
12 | { |
||
13 | /** |
||
14 | * The name and signature of the console command. |
||
15 | * |
||
16 | * @var string |
||
17 | */ |
||
18 | protected $signature = 'docweaver:update-all |
||
19 | {--y|y : Whether to skip confirmation} |
||
20 | '; |
||
21 | |||
22 | /** |
||
23 | * The console command description. |
||
24 | * |
||
25 | * @var string |
||
26 | */ |
||
27 | protected $description = 'Update documentation for all products'; |
||
28 | |||
29 | /** |
||
30 | * @var Publisher |
||
31 | */ |
||
32 | protected $publisher; |
||
33 | |||
34 | /** |
||
35 | * Create a new command instance. |
||
36 | * |
||
37 | * @param Publisher $publisher |
||
38 | */ |
||
39 | public function __construct(Publisher $publisher) |
||
45 | |||
46 | /** |
||
47 | * Execute the console command. |
||
48 | */ |
||
49 | public function handle(): void |
||
80 | } |
||
81 |