Conditions | 3 |
Paths | 4 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
27 | public function mutate(Handler $ajaxcom): Handler |
||
28 | { |
||
29 | foreach ($this->blocks as $block) { |
||
30 | try { |
||
31 | $html = $this->renderBlock->render($block, $this->view, $this->parameters); |
||
32 | $ajaxcom->container('#'.$block->getId())->prepend($html); |
||
33 | } catch (AjaxcomException $e) { |
||
34 | continue; |
||
35 | } |
||
36 | } |
||
37 | |||
38 | return $ajaxcom; |
||
39 | } |
||
48 |