Twig API
Interface

Twig_NodeInterface

interface Twig_NodeInterface implements Countable, IteratorAggregate

Represents a node in the AST.

Methods

compile(Twig_Compiler $compiler)

Compiles the node to PHP.

getLine()

getNodeTag()

Details

at line 25
public compile(Twig_Compiler $compiler)

Compiles the node to PHP.

Parameters

Twig_Compiler $compiler A Twig_Compiler instance

at line 27
public getLine()

at line 29
public getNodeTag()