| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 12 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 45 | public function renderBlocksForEvent(string $event, array $options = []): string | ||
| 46 |     { | ||
| 47 | $templates = $this->eventsToTemplates[$event] ?? []; | ||
| 48 | |||
| 49 | $renderedTemplates = []; | ||
| 50 | |||
| 51 |         foreach ($templates as $template) { | ||
| 52 | $renderedTemplates[] = $this->twig->render($template, $options); | ||
| 53 | } | ||
| 54 | |||
| 55 |         return implode("\n", $renderedTemplates); | ||
| 56 | } | ||
| 57 | } | ||
| 58 |