Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
26 | public function render(ExtendableInterface $extendable, Bound $bound) |
||
27 | { |
||
28 | $formatter = $this->getFormatter(); |
||
29 | |||
30 | return $formatter->renderCall( |
||
31 | $formatter->renderProperty($formatter->renderObjectCall($extendable, $this->getMethod()), 'forEach'), |
||
32 | [ |
||
33 | $formatter->renderClosure( |
||
34 | $formatter->renderObjectCall($bound, 'extend', [$variable = 'c']), |
||
35 | [$variable] |
||
36 | ), |
||
37 | ] |
||
38 | ); |
||
39 | } |
||
40 | |||
46 |