PreNodeRendererFactory
in package
implements
NodeRendererFactory
FinalYes
Decorator to add pre-rendering logic to node renderers.
Table of Contents
Interfaces
Properties
- $innerFactory : NodeRendererFactory
- $preRenderers : iterable<string|int, PreNodeRenderer>
Methods
- __construct() : mixed
- get() : NodeRenderer<string|int, Node>
Properties
$innerFactory read-only
private
NodeRendererFactory
$innerFactory
$preRenderers read-only
private
iterable<string|int, PreNodeRenderer>
$preRenderers
Methods
__construct()
public
__construct(NodeRendererFactory $innerFactory, iterable<string|int, mixed> $preRenderers) : mixed
Parameters
- $innerFactory : NodeRendererFactory
- $preRenderers : iterable<string|int, mixed>
get()
public
get(Node $node) : NodeRenderer<string|int, Node>
Parameters
- $node : Node