| Total Complexity | 4 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 16 | class PromotionIndividualCodeCollection extends EntityCollection |
||
| 17 | { |
||
| 18 | public function getApiAlias(): string |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @returns string[] |
||
| 25 | */ |
||
| 26 | public function getCodeArray(): array |
||
| 27 | { |
||
| 28 | $codes = []; |
||
| 29 | foreach ($this->getIterator() as $codeEntity) { |
||
| 30 | $codes[] = $codeEntity->getCode(); |
||
| 31 | } |
||
| 32 | |||
| 33 | return $codes; |
||
| 34 | } |
||
| 35 | |||
| 36 | protected function getExpectedClass(): string |
||
| 39 | } |
||
| 40 | } |
||
| 41 |