| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | public function create(ProductAttributeValueInterface $productAttributeValue) |
||
| 14 | { |
||
| 15 | $productAttributeValueView = new ProductAttributeValueView(); |
||
| 16 | |||
| 17 | $productAttributeValueView->code = $productAttributeValue->getCode(); |
||
| 18 | $productAttributeValueView->name = $productAttributeValue->getName(); |
||
| 19 | $productAttributeValueView->value = $productAttributeValue->getValue(); |
||
| 20 | |||
| 21 | return $productAttributeValueView; |
||
| 22 | } |
||
| 23 | } |
||
| 24 |