Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
26 | public function render($template_pathname, $thisArg, array $variables, array $options = []) |
||
27 | { |
||
28 | $template = file_get_contents($template_pathname); |
||
29 | $patron = \Patron\get_patron(); |
||
30 | |||
31 | return $patron($template, $thisArg, [ |
||
32 | |||
33 | 'file' => $template_pathname, |
||
34 | 'variables' => [ self::VAR_TEMPLATE_PATHNAME => $template_pathname ] + $variables |
||
35 | |||
36 | ]); |
||
37 | } |
||
38 | } |
||
39 |