| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 9 | #[Package('core')] |
||
| 10 | class IndexMappingProvider |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @internal |
||
| 14 | * |
||
| 15 | * @param array<mixed> $mapping |
||
| 16 | */ |
||
| 17 | public function __construct( |
||
| 18 | private readonly array $mapping, |
||
| 19 | ) { |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @return array<mixed> |
||
| 24 | */ |
||
| 25 | public function build(AbstractElasticsearchDefinition $definition, Context $context): array |
||
| 30 | } |
||
| 31 | } |
||
| 32 |