| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 11 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 32 | public function render(string $eventName, array $context = []): string  | 
            ||
| 33 |     { | 
            ||
| 34 | $templateBlocks = $this->templateBlockRegistry->findEnabledForEvent($eventName);  | 
            ||
| 35 | $renderedTemplates = [];  | 
            ||
| 36 | |||
| 37 |         foreach ($templateBlocks as $templateBlock) { | 
            ||
| 38 | $renderedTemplates[] = $this->templateBlockRenderer->render($eventName, $templateBlock, $context);  | 
            ||
| 39 | }  | 
            ||
| 40 | |||
| 41 |         return implode("\n", $renderedTemplates); | 
            ||
| 42 | }  | 
            ||
| 43 | }  | 
            ||
| 44 |