Total Complexity | 2 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
9 | class ElasticsearchMapping implements ElasticsearchMappingContract |
||
10 | { |
||
11 | /** |
||
12 | * Get es client |
||
13 | * |
||
14 | * @return Client |
||
15 | */ |
||
16 | 3 | public function getEsClient(): Client |
|
19 | } |
||
20 | |||
21 | /** |
||
22 | * Map |
||
23 | * |
||
24 | * @param \Closure $blueprint |
||
25 | * @param string $esIndex |
||
26 | * @param string $esType |
||
27 | */ |
||
28 | 2 | public function map(\Closure $blueprint, string $esIndex, string $esType) |
|
36 |