Total Complexity | 2 |
Total Lines | 49 |
Duplicated Lines | 0 % |
Coverage | 72.21% |
Changes | 0 |
1 | <?php |
||
8 | class Create extends Command |
||
9 | { |
||
10 | /** |
||
11 | * The name and signature of the console command. |
||
12 | * |
||
13 | * @var string |
||
14 | */ |
||
15 | protected $signature = 'triadev:es:alias:create |
||
16 | {index : Index} |
||
17 | {alias : Alias} |
||
18 | {version : Version}'; |
||
19 | |||
20 | /** |
||
21 | * The console command description. |
||
22 | * |
||
23 | * @var string |
||
24 | */ |
||
25 | protected $description = 'Create an alias.'; |
||
26 | |||
27 | /** |
||
28 | * Execute the console command. |
||
29 | * |
||
30 | * @param ElasticsearchAliasContract $elasticsearchAlias |
||
31 | */ |
||
32 | 2 | public function handle(ElasticsearchAliasContract $elasticsearchAlias) |
|
61 |