| Total Complexity | 4 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | final class EcomData implements Arrayable |
||
| 22 | { |
||
| 23 | use DataAware; |
||
| 24 | |||
| 25 | public function __construct(string $id) |
||
| 26 | { |
||
| 27 | $this->data['delivery-point-index'] = $id; |
||
| 28 | } |
||
| 29 | |||
| 30 | public function withIdentityMethod(EcomIdentityMethod $method) |
||
| 35 | } |
||
| 36 | |||
| 37 | public function addService(EcomService $servcie) |
||
| 42 | } |
||
| 43 | |||
| 44 | public function toArray(): array |
||
| 47 | } |
||
| 48 | } |
||
| 49 |