File: phpbb/template/twig/tokenparser/includeparser.php
Unmodified
Added
Modified
Removed
Line 14 | Line 14 |
---|
namespace phpbb\template\twig\tokenparser;
|
namespace phpbb\template\twig\tokenparser;
|
class includeparser extends \Twig_TokenParser_Include
| class includeparser extends \Twig\TokenParser\IncludeTokenParser
|
{ /** * Parses a token and returns a node. *
|
{ /** * Parses a token and returns a node. *
|
* @param \Twig_Token $token A Twig_Token instance
| * @param \Twig\Token $token A Twig\Token instance
|
*
|
*
|
* @return \Twig_Node A Twig_Node instance
| * @return \Twig\Node\Node A Twig\Node instance
|
*/
|
*/
|
public function parse(\Twig_Token $token)
| public function parse(\Twig\Token $token)
|
{ $expr = $this->parser->getExpressionParser()->parseExpression();
| { $expr = $this->parser->getExpressionParser()->parseExpression();
|