You are here

public function Twig_TestInterface::compile in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.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 25

Class

Twig_TestInterface
Represents a template test.

Code

public function compile();