| 1 | <?php |
||
| 28 | class LoadedByPuliTokenParser extends Twig_TokenParser |
||
| 29 | { |
||
| 30 | /** |
||
| 31 | * Parses a token and returns a node. |
||
| 32 | * |
||
| 33 | * @param Twig_Token $token A Twig_Token instance |
||
| 34 | * |
||
| 35 | * @return Twig_NodeInterface A Twig_NodeInterface instance |
||
| 36 | * |
||
| 37 | * @throws Twig_Error_Syntax |
||
| 38 | */ |
||
| 39 | 19 | public function parse(Twig_Token $token) |
|
| 45 | |||
| 46 | /** |
||
| 47 | * Gets the tag name associated with this token parser. |
||
| 48 | * |
||
| 49 | * @return string The tag name |
||
| 50 | */ |
||
| 51 | 23 | public function getTag() |
|
| 55 | } |
||
| 56 |