phpBB API Documentation
Class

phpbb\template\twig\node\php

class php extends Twig_Node

Methods

__construct(Twig_Node_Text $text, environment $environment, $lineno, $tag = null)

compile(Twig_Compiler $compiler)

Compiles the node to PHP.

Details

at line 21
public __construct(Twig_Node_Text $text, environment $environment, $lineno, $tag = null)

Parameters

Twig_Node_Text $text
environment $environment
$lineno
$tag

at line 33
public compile(Twig_Compiler $compiler)

Compiles the node to PHP.

Parameters

Twig_Compiler $compiler A Twig_Compiler instance