PreRenderer
in package
implements
NodeRenderer
FinalYes
Table of Contents
Interfaces
Properties
- $nodeRenderer : NodeRenderer<string|int, Node>
- $preNodeRenderers : iterable<string|int, PreNodeRenderer>
Methods
- __construct() : mixed
- render() : string
- supports() : bool
Properties
$nodeRenderer read-only
private
NodeRenderer<string|int, Node>
$nodeRenderer
$preNodeRenderers read-only
private
iterable<string|int, PreNodeRenderer>
$preNodeRenderers
Methods
__construct()
public
__construct(NodeRenderer $nodeRenderer, iterable<string|int, mixed> $preNodeRenderers) : mixed
Parameters
- $nodeRenderer : NodeRenderer
- $preNodeRenderers : iterable<string|int, mixed>
render()
public
render(Node $node, RenderContext $renderContext) : string
Parameters
- $node : Node
- $renderContext : RenderContext
Return values
stringsupports()
public
supports(string $nodeFqcn) : bool
Parameters
- $nodeFqcn : string