| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 29 | 2 | public function setField($field, $value): Transporter |
|
| 30 | { |
||
| 31 | 2 | $set = $this->getEntity()->getAttributeSet(); |
|
| 32 | 2 | if ($set->hasContainer($field)) { |
|
| 33 | 2 | $container = $set->getContainer($field); |
|
| 34 | 2 | $valueManager = $container->getValueManager(); |
|
| 35 | 2 | $valueManager->setValue($value); |
|
| 36 | } |
||
| 37 | |||
| 38 | 2 | return parent::setField($field, $value); |
|
| 39 | } |
||
| 61 |