1 | <?php |
||
8 | class SchemaImport extends Command |
||
9 | { |
||
10 | /** |
||
11 | * The name and signature of the console command. |
||
12 | * |
||
13 | * @var string |
||
14 | */ |
||
15 | protected $signature = 'schema:import {--file=./schema.json : file with schema}'; |
||
16 | |||
17 | /** |
||
18 | * The console command description. |
||
19 | * |
||
20 | * @var string |
||
21 | */ |
||
22 | protected $description = 'Import schemas mongo databases from file'; |
||
23 | |||
24 | /** |
||
25 | * SchemaImport constructor. |
||
26 | */ |
||
27 | public function __construct() |
||
31 | |||
32 | /** |
||
33 | * Execute the console command. |
||
34 | * |
||
35 | * @return void |
||
36 | */ |
||
37 | public function handle() |
||
68 | } |
||
69 |