Revision 1852
Added by darkviper almost 12 years ago
CompilerInterface.php | ||
---|---|---|
20 | 20 |
/** |
21 | 21 |
* Compiles a node. |
22 | 22 |
* |
23 |
* @param Twig_NodeInterface $node The node to compile
|
|
23 |
* @param Twig_NodeInterface $node The node to compile |
|
24 | 24 |
* |
25 | 25 |
* @return Twig_CompilerInterface The current compiler instance |
26 | 26 |
*/ |
27 |
function compile(Twig_NodeInterface $node); |
|
27 |
public function compile(Twig_NodeInterface $node);
|
|
28 | 28 |
|
29 | 29 |
/** |
30 | 30 |
* Gets the current PHP code after compilation. |
31 | 31 |
* |
32 | 32 |
* @return string The PHP code |
33 | 33 |
*/ |
34 |
function getSource(); |
|
34 |
public function getSource();
|
|
35 | 35 |
} |
Also available in: Unified diff
updated Twig template engine to stable version 1.11.1 step2