| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 10 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 13 | public static function render(string $templatePath, string $templateName, array $data): string  | 
            ||
| 14 |     { | 
            ||
| 15 | $output = new \WebServCo\Framework\Libraries\HtmlOutput();  | 
            ||
| 16 |         foreach ($data as $k => $v) { | 
            ||
| 17 | $output->setData($k, $v);  | 
            ||
| 18 | }  | 
            ||
| 19 | $output->setPath($templatePath);  | 
            ||
| 20 | |||
| 21 | $output->setTemplate($templateName);  | 
            ||
| 22 | return $output->render();  | 
            ||
| 23 | }  | 
            ||
| 25 |