Revision 1938
Added by darkviper almost 11 years ago
NodeVisitorInterface.php | ||
---|---|---|
12 | 12 |
/** |
13 | 13 |
* Twig_NodeVisitorInterface is the interface the all node visitor classes must implement. |
14 | 14 |
* |
15 |
* @package twig |
|
16 |
* @author Fabien Potencier <fabien@symfony.com> |
|
15 |
* @author Fabien Potencier <fabien@symfony.com> |
|
17 | 16 |
*/ |
18 | 17 |
interface Twig_NodeVisitorInterface |
19 | 18 |
{ |
... | ... | |
33 | 32 |
* @param Twig_NodeInterface $node The node to visit |
34 | 33 |
* @param Twig_Environment $env The Twig environment instance |
35 | 34 |
* |
36 |
* @return Twig_NodeInterface The modified node
|
|
35 |
* @return Twig_NodeInterface|false The modified node or false if the node must be removed
|
|
37 | 36 |
*/ |
38 | 37 |
public function leaveNode(Twig_NodeInterface $node, Twig_Environment $env); |
39 | 38 |
|
Also available in: Unified diff
update Twig template engine to version 1.13.1