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