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