1 | <?php declare(strict_types=1); |
||
14 | final class RebuildProjectionsCommand extends Command |
||
15 | { |
||
16 | /** |
||
17 | * The name and signature of the console command. |
||
18 | * |
||
19 | * @var string |
||
20 | */ |
||
21 | protected $signature = 'smoothphp:rebuild {--transactions}'; |
||
22 | |||
23 | /** |
||
24 | * The console command description. |
||
25 | * |
||
26 | * @var string |
||
27 | */ |
||
28 | protected $description = 'Rebuild all projection'; |
||
29 | |||
30 | /** @var Repository */ |
||
31 | private $config; |
||
32 | |||
33 | /** |
||
34 | * BuildLaravelEventStore constructor. |
||
35 | * @param Repository $config |
||
36 | */ |
||
37 | public function __construct(Repository $config) |
||
42 | |||
43 | /** |
||
44 | * Execute the console command. |
||
45 | * |
||
46 | * @return mixed |
||
47 | */ |
||
48 | public function handle() |
||
74 | } |
||
75 |