map(function(array $node) use ($context) { if (($node['kind'] ?? 'component') === 'container') return '
'.$this->render($node,$context).'
'; return $this->registry->component((string)($node['type'] ?? 'content'))->render($node['properties'] ?? [],$context); })->implode("\n"); } }