| Total Complexity | 4 |
| Total Lines | 51 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 8 | class CustomerIndexingMessage extends EntityIndexingMessage |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var string[] |
||
| 12 | */ |
||
| 13 | private array $ids = []; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param string[] $ids |
||
| 17 | * |
||
| 18 | * @deprecated tag:v6.5.0 - will be removed use setIds instead |
||
| 19 | */ |
||
| 20 | public function setIdsWithEmailChange(array $ids): void |
||
| 21 | { |
||
| 22 | Feature::triggerDeprecationOrThrow( |
||
| 23 | 'v6.5.0.0', |
||
| 24 | Feature::deprecatedMethodMessage(__CLASS__, __METHOD__, 'v6.5.0.0') |
||
| 25 | ); |
||
| 26 | |||
| 27 | $this->ids = $ids; |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @deprecated tag:v6.5.0 - will be removed use getIds instead |
||
| 32 | * |
||
| 33 | * @return string[] |
||
| 34 | */ |
||
| 35 | public function getIdsWithEmailChange(): array |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @return string[] |
||
| 47 | */ |
||
| 48 | public function getIds(): array |
||
| 49 | { |
||
| 50 | return $this->ids; |
||
| 51 | } |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @param array<string> $ids |
||
| 55 | */ |
||
| 56 | public function setIds(array $ids): void |
||
| 59 | } |
||
| 60 | } |
||
| 61 |