forked from leftypol/leftypol
Upgrade Twig library
This commit is contained in:
parent
22f3a95e0e
commit
0fe5528574
133 changed files with 5080 additions and 1386 deletions
|
@ -12,8 +12,7 @@
|
|||
/**
|
||||
* Twig_NodeVisitorInterface is the interface the all node visitor classes must implement.
|
||||
*
|
||||
* @package twig
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*/
|
||||
interface Twig_NodeVisitorInterface
|
||||
{
|
||||
|
@ -23,9 +22,9 @@ interface Twig_NodeVisitorInterface
|
|||
* @param Twig_NodeInterface $node The node to visit
|
||||
* @param Twig_Environment $env The Twig environment instance
|
||||
*
|
||||
* @param Twig_NodeInterface The modified node
|
||||
* @return Twig_NodeInterface The modified node
|
||||
*/
|
||||
function enterNode(Twig_NodeInterface $node, Twig_Environment $env);
|
||||
public function enterNode(Twig_NodeInterface $node, Twig_Environment $env);
|
||||
|
||||
/**
|
||||
* Called after child nodes are visited.
|
||||
|
@ -33,9 +32,9 @@ interface Twig_NodeVisitorInterface
|
|||
* @param Twig_NodeInterface $node The node to visit
|
||||
* @param Twig_Environment $env The Twig environment instance
|
||||
*
|
||||
* @param Twig_NodeInterface The modified node
|
||||
* @return Twig_NodeInterface|false The modified node or false if the node must be removed
|
||||
*/
|
||||
function leaveNode(Twig_NodeInterface $node, Twig_Environment $env);
|
||||
public function leaveNode(Twig_NodeInterface $node, Twig_Environment $env);
|
||||
|
||||
/**
|
||||
* Returns the priority for this visitor.
|
||||
|
@ -44,5 +43,5 @@ interface Twig_NodeVisitorInterface
|
|||
*
|
||||
* @return integer The priority level
|
||||
*/
|
||||
function getPriority();
|
||||
public function getPriority();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue