Twig_CompilerInterface

Extends

Interface implemented by compiler classes.

author

Fabien Potencier fabien@symfony.com

deprecated

since 1.12 (to be removed in 3.0)

package

Default

Methods

Compiles a node.

compile(\Twig_NodeInterface $node): $this

Arguments

Response

$this

Gets the current PHP code after compilation.

getSource(): string

Response

string

The PHP code