You are here

public function Twig_FilterInterface::compile in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.3 vendor/Twig/FilterInterface.php \Twig_FilterInterface::compile()

Compiles a filter.

Return value

string The PHP code for the filter

3 methods override Twig_FilterInterface::compile()
Twig_Filter_Function::compile in vendor/Twig/Filter/Function.php
Compiles a filter.
Twig_Filter_Method::compile in vendor/Twig/Filter/Method.php
Compiles a filter.
Twig_Filter_Node::compile in vendor/Twig/Filter/Node.php
Compiles a filter.

File

vendor/Twig/FilterInterface.php, line 27

Class

Twig_FilterInterface
Represents a template filter.

Code

public function compile();