1 | <?php |
||
13 | final class ImportEventStore extends Command |
||
14 | { |
||
15 | /** |
||
16 | * The name and signature of the console command. |
||
17 | * |
||
18 | * @var string |
||
19 | */ |
||
20 | protected $signature = 'smoothphp:import'; |
||
21 | |||
22 | /** |
||
23 | * The console command description. |
||
24 | * |
||
25 | * @var string |
||
26 | */ |
||
27 | protected $description = 'Import EventStore'; |
||
28 | |||
29 | /** @var DatabaseManager */ |
||
30 | private $databaseManager; |
||
31 | |||
32 | /** @var Repository */ |
||
33 | private $config; |
||
34 | |||
35 | /** |
||
36 | * ExportEventStore constructor. |
||
37 | * @param DatabaseManager $databaseManager |
||
38 | * @param Repository $config |
||
39 | */ |
||
40 | public function __construct(DatabaseManager $databaseManager, Repository $config) |
||
46 | |||
47 | /** |
||
48 | * Execute the console command. |
||
49 | * |
||
50 | * @return mixed |
||
51 | */ |
||
52 | public function handle() |
||
78 | |||
79 | /** |
||
80 | * |
||
81 | */ |
||
82 | private function truncate() |
||
89 | } |
||
90 |