File: phpbb/template/twig/node/event.php
Unmodified
Added
Modified
Removed
Line 13 | Line 13 |
---|
namespace phpbb\template\twig\node;
|
namespace phpbb\template\twig\node;
|
class event extends \Twig_Node
| class event extends \Twig\Node\Node
|
{ /** * The subdirectory in which all template listener files must be placed
| { /** * The subdirectory in which all template listener files must be placed
|
Line 21 | Line 21 |
---|
*/ protected $listener_directory = 'event/';
|
*/ protected $listener_directory = 'event/';
|
/** @var \Twig_Environment */
| /** @var \Twig\Environment */
|
protected $environment;
|
protected $environment;
|
public function __construct(\Twig_Node_Expression $expr, \phpbb\template\twig\environment $environment, $lineno, $tag = null)
| public function __construct(\Twig\Node\Expression\AbstractExpression $expr, \phpbb\template\twig\environment $environment, $lineno, $tag = null)
|
{ $this->environment = $environment;
| { $this->environment = $environment;
|
Line 34 | Line 34 |
---|
/** * Compiles the node to PHP. *
|
/** * Compiles the node to PHP. *
|
* @param \Twig_Compiler A Twig_Compiler instance
| * @param \Twig\Compiler A Twig\Compiler instance
|
*/
|
*/
|
public function compile(\Twig_Compiler $compiler)
| public function compile(\Twig\Compiler $compiler)
|
{ $compiler->addDebugInfo($this);
| { $compiler->addDebugInfo($this);
|