public function Twig_TestInterface::compile in Translation template extractor 7.3
Same name and namespace in other branches
- 6.3 vendor/Twig/TestInterface.php \Twig_TestInterface::compile()
Compiles a test.
Return value
string The PHP code for the test
3 methods override Twig_TestInterface::compile()
- Twig_Test_Function::compile in vendor/
Twig/ Test/ Function.php - Compiles a test.
- Twig_Test_Method::compile in vendor/
Twig/ Test/ Method.php - Compiles a test.
- Twig_Test_Node::compile in vendor/
Twig/ Test/ Node.php - Compiles a test.
File
- vendor/
Twig/ TestInterface.php, line 26
Class
- Twig_TestInterface
- Represents a template test.
Code
public function compile();