interface Twig_CompilerInterface in Translation template extractor 7.3
Same name and namespace in other branches
- 6.3 vendor/Twig/CompilerInterface.php \Twig_CompilerInterface
Interface implemented by compiler classes.
@author Fabien Potencier <fabien@symfony.com>
Hierarchy
- interface \Twig_CompilerInterface
Expanded class hierarchy of Twig_CompilerInterface
All classes that implement Twig_CompilerInterface
Deprecated
since 1.12 (to be removed in 3.0)
File
- vendor/
Twig/ CompilerInterface.php, line 19
View source
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();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Twig_CompilerInterface:: |
public | function | Compiles a node. | 1 |
Twig_CompilerInterface:: |
public | function | Gets the current PHP code after compilation. | 1 |