* * @deprecated since 1.12 (to be removed in 3.0) */ interface Twig_CompilerInterface { /** * Compiles a node. * * @param Twig_NodeInterface $node The node to compile * * @return Twig_CompilerInterface The current compiler instance */ public function compile(Twig_NodeInterface $node); /** * Gets the current PHP code after compilation. * * @return string The PHP code */ public function getSource(); }