| 1 | <?php  | 
            ||
| 16 | final class TemplateBlockRegistry implements TemplateBlockRegistryInterface  | 
            ||
| 17 | { | 
            ||
| 18 | /** @psalm-var array<string, list<TemplateBlock>> */  | 
            ||
| 19 | private $eventsToTemplateBlocks;  | 
            ||
| 20 | |||
| 21 | public function __construct(array $eventsToTemplateBlocks)  | 
            ||
| 25 | |||
| 26 | public function all(): array  | 
            ||
| 30 | |||
| 31 | public function findEnabledForEvent(string $eventName): array  | 
            ||
| 40 | }  | 
            ||
| 41 |