composer package updates
[openemr.git] / vendor / twig / twig / lib / Twig / CompilerInterface.php
blob42872c9cd568496ea48ab1da77214fffee70ac0e
1 <?php
3 /*
4 * This file is part of Twig.
6 * (c) Fabien Potencier
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 /**
13 * Interface implemented by compiler classes.
15 * @author Fabien Potencier <fabien@symfony.com>
17 * @deprecated since 1.12 (to be removed in 3.0)
19 interface Twig_CompilerInterface
21 /**
22 * Compiles a node.
24 * @return $this
26 public function compile(Twig_NodeInterface $node);
28 /**
29 * Gets the current PHP code after compilation.
31 * @return string The PHP code
33 public function getSource();