| Total Complexity | 4 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Coverage | 81.82% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | trait DelegateElementBuilderTrait |
||
| 13 | { |
||
| 14 | use MagicCallForwarding; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * {@inheritdoc} |
||
| 18 | */ |
||
| 19 | 2 | final public function satisfy($constraint, $options = null, bool $append = true) |
|
| 20 | { |
||
| 21 | 2 | $this->getElementBuilder()->satisfy($constraint, $options, $append); |
|
| 22 | |||
| 23 | 2 | return $this; |
|
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * {@inheritdoc} |
||
| 28 | */ |
||
| 29 | 2 | final public function transformer($transformer, bool $append = true) |
|
| 30 | { |
||
| 31 | 2 | $this->getElementBuilder()->transformer($transformer, $append); |
|
| 32 | |||
| 33 | 2 | return $this; |
|
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * {@inheritdoc} |
||
| 38 | */ |
||
| 39 | 2 | final public function value($value) |
|
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * {@inheritdoc} |
||
| 48 | */ |
||
| 49 | final public function buildElement(): ElementInterface |
||
| 52 | } |
||
| 53 | } |
||
| 54 |