Revision 1852
Added by darkviper almost 12 years ago
LexerInterface.php | ||
---|---|---|
20 | 20 |
/** |
21 | 21 |
* Tokenizes a source code. |
22 | 22 |
* |
23 |
* @param string $code The source code
|
|
24 |
* @param string $filename A unique identifier for the source code
|
|
23 |
* @param string $code The source code |
|
24 |
* @param string $filename A unique identifier for the source code |
|
25 | 25 |
* |
26 | 26 |
* @return Twig_TokenStream A token stream instance |
27 | 27 |
*/ |
28 |
function tokenize($code, $filename = null); |
|
28 |
public function tokenize($code, $filename = null);
|
|
29 | 29 |
} |
Also available in: Unified diff
updated Twig template engine to stable version 1.11.1 step2