ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
Twig_Extensions_Grammar_Hash Class Reference
+ Inheritance diagram for Twig_Extensions_Grammar_Hash:
+ Collaboration diagram for Twig_Extensions_Grammar_Hash:

Public Member Functions

 __toString ()
 
 parse (Twig_Token $token)
 
- Public Member Functions inherited from Twig_Extensions_Grammar
 __construct ($name)
 
 setParser (Twig_Parser $parser)
 
 getName ()
 

Additional Inherited Members

- Protected Attributes inherited from Twig_Extensions_Grammar
 $name
 
 $parser
 

Detailed Description

Deprecated:
since version 1.5

Definition at line 15 of file Hash.php.

Member Function Documentation

◆ __toString()

Twig_Extensions_Grammar_Hash::__toString ( )

Definition at line 17 of file Hash.php.

18  {
19  return sprintf('<%s:hash>', $this->name);
20  }

◆ parse()

Twig_Extensions_Grammar_Hash::parse ( Twig_Token  $token)

Implements Twig_Extensions_GrammarInterface.

Definition at line 22 of file Hash.php.

23  {
24  return $this->parser->getExpressionParser()->parseHashExpression();
25  }

The documentation for this class was generated from the following file: