| Total Complexity | 5 |
| Total Lines | 52 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 10 | final class AdminSearchIndexingMessage |
||
| 11 | { |
||
| 12 | private string $entity; |
||
| 13 | |||
| 14 | private string $indexer; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var array<string, string> |
||
| 18 | */ |
||
| 19 | private array $indices; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var array<string> |
||
| 23 | */ |
||
| 24 | private array $ids; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param array<string, string> $indices |
||
| 28 | * @param array<string> $ids |
||
| 29 | */ |
||
| 30 | public function __construct(string $entity, string $indexer, array $indices, array $ids) |
||
| 31 | { |
||
| 32 | $this->entity = $entity; |
||
| 33 | $this->indexer = $indexer; |
||
| 34 | $this->indices = $indices; |
||
| 35 | $this->ids = $ids; |
||
| 36 | } |
||
| 37 | |||
| 38 | public function getEntity(): string |
||
| 41 | } |
||
| 42 | |||
| 43 | public function getIndexer(): string |
||
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @return array<string, string> |
||
| 50 | */ |
||
| 51 | public function getIndices(): array |
||
| 54 | } |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @return array<string> |
||
| 58 | */ |
||
| 59 | public function getIds(): array |
||
| 64 |