| Total Complexity | 5 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class ProductConfiguration |
||
| 13 | { |
||
| 14 | private array $deliveryMethods = []; |
||
| 15 | |||
| 16 | public function getDeliveryMethods(): array |
||
| 19 | } |
||
| 20 | |||
| 21 | public function addDeliveryMethod(DeliveryMethod $deliveryMethod): void |
||
| 22 | { |
||
| 23 | $this->deliveryMethods[] = $deliveryMethod; |
||
| 24 | } |
||
| 25 | |||
| 26 | public static function createFromXML(SimpleXMLElement $xml): self |
||
| 39 | } |
||
| 40 | } |
||
| 41 |