Interface Twig_TestInterface

Implemented byTwig_Test
Deprecated since version since 1.12 (to be removed in 2.0)

Represents a template test.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
compile() Compiles a test. Twig_TestInterface

Method Details

compile() public abstract method

Compiles a test.

public abstract string compile ( )
return string

The PHP code for the test