TwigNodeRender
extends Node
in package
implements
NodeCaptureInterface
Class TwigNodeRender
Table of Contents
Interfaces
- NodeCaptureInterface
Properties
- $tagName : string
Methods
- __construct() : mixed
- compile() : void
- Compiles the node to PHP.
Properties
$tagName
protected
string
$tagName
= 'render'
Methods
__construct()
public
__construct(AbstractExpression $object, AbstractExpression|null $layout, AbstractExpression|null $context, int $lineno[, string|null $tag = null ]) : mixed
Parameters
- $object : AbstractExpression
- $layout : AbstractExpression|null
- $context : AbstractExpression|null
- $lineno : int
- $tag : string|null = null
compile()
Compiles the node to PHP.
public
compile(Compiler $compiler) : void
Parameters
- $compiler : Compiler
-
A Twig Compiler instance