mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-11 12:03:14 +00:00
40 lines
1.1 KiB
PHP
Executable File
40 lines
1.1 KiB
PHP
Executable File
<?php
|
|
|
|
/*
|
|
* This file is part of Twig.
|
|
*
|
|
* (c) 2009 Fabien Potencier
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
/**
|
|
* Twig_NodeVisitorInterface is the interface the all node visitor classes must implement.
|
|
*
|
|
* @package twig
|
|
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
|
|
*/
|
|
interface Twig_NodeVisitorInterface
|
|
{
|
|
/**
|
|
* Called before child nodes are visited.
|
|
*
|
|
* @param Twig_NodeInterface $node The node to visit
|
|
* @param Twig_Environment $env The Twig environment instance
|
|
*
|
|
* @param Twig_NodeInterface The modified node
|
|
*/
|
|
public function enterNode(Twig_NodeInterface $node, Twig_Environment $env);
|
|
|
|
/**
|
|
* Called after child nodes are visited.
|
|
*
|
|
* @param Twig_NodeInterface $node The node to visit
|
|
* @param Twig_Environment $env The Twig environment instance
|
|
*
|
|
* @param Twig_NodeInterface The modified node
|
|
*/
|
|
public function leaveNode(Twig_NodeInterface $node, Twig_Environment $env);
|
|
}
|