| Conditions | 2 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 57 | public function render( |
||
| 58 | \Twig_Environment $env, |
||
| 59 | Configuration $pagination, |
||
| 60 | $template = null, |
||
| 61 | array $view_params = [] |
||
| 62 | ) { |
||
| 63 | return $env->render( |
||
| 64 | $template ?: $this->template, |
||
| 65 | array_merge( |
||
| 66 | ['pagination' => $pagination->getView()], |
||
| 67 | $view_params |
||
| 68 | ) |
||
| 69 | ); |
||
| 70 | } |
||
| 71 | |||
| 80 |