Revision 1852
Added by darkviper almost 13 years ago
| TokenParserInterface.php | ||
|---|---|---|
| 22 | 22 |
* |
| 23 | 23 |
* @param $parser A Twig_Parser instance |
| 24 | 24 |
*/ |
| 25 |
function setParser(Twig_Parser $parser); |
|
| 25 |
public function setParser(Twig_Parser $parser);
|
|
| 26 | 26 |
|
| 27 | 27 |
/** |
| 28 | 28 |
* Parses a token and returns a node. |
| ... | ... | |
| 31 | 31 |
* |
| 32 | 32 |
* @return Twig_NodeInterface A Twig_NodeInterface instance |
| 33 | 33 |
*/ |
| 34 |
function parse(Twig_Token $token); |
|
| 34 |
public function parse(Twig_Token $token);
|
|
| 35 | 35 |
|
| 36 | 36 |
/** |
| 37 | 37 |
* Gets the tag name associated with this token parser. |
| 38 | 38 |
* |
| 39 | 39 |
* @return string The tag name |
| 40 | 40 |
*/ |
| 41 |
function getTag(); |
|
| 41 |
public function getTag();
|
|
| 42 | 42 |
} |
Also available in: Unified diff
updated Twig template engine to stable version 1.11.1 step2