public function Twig_Test_Function::compile in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/twig/twig/lib/Twig/Test/Function.php \Twig_Test_Function::compile()
Compiles a test.
Return value
string The PHP code for the test
Overrides Twig_TestInterface::compile
File
- vendor/
twig/ twig/ lib/ Twig/ Test/ Function.php, line 34
Class
- Twig_Test_Function
- Represents a function template test.
Code
public function compile() {
return $this->function;
}