| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 9 | 
| Code Lines | 5 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 39 | public function process(array $data = array()): string  | 
            ||
| 40 |     { | 
            ||
| 41 |         if (null === $this->template) { | 
            ||
| 42 | throw new MissingParsedTemplate(  | 
            ||
| 43 | "You need to set a template before using the process() method. ".  | 
            ||
| 44 | "Use TemplateEngine::parse() first."  | 
            ||
| 45 | );  | 
            ||
| 46 | }  | 
            ||
| 47 | return $this->template->render($data);  | 
            ||
| 48 | }  | 
            ||
| 55 |