You are here

public function Twig_TestInterface::compile in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/lib/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/twig/lib/Twig/Test/Function.php
Compiles a test.
Twig_Test_Method::compile in vendor/twig/twig/lib/Twig/Test/Method.php
Compiles a test.
Twig_Test_Node::compile in vendor/twig/twig/lib/Twig/Test/Node.php
Compiles a test.

File

vendor/twig/twig/lib/Twig/TestInterface.php, line 26

Class

Twig_TestInterface
Represents a template test.

Code

public function compile();