You are here

public function Twig_FunctionInterface::compile in Translation template extractor 6.3

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

Compiles a function.

Return value

string The PHP code for the function

3 methods override Twig_FunctionInterface::compile()
Twig_Function_Function::compile in vendor/Twig/Function/Function.php
Compiles a function.
Twig_Function_Method::compile in vendor/Twig/Function/Method.php
Compiles a function.
Twig_Function_Node::compile in vendor/Twig/Function/Node.php
Compiles a function.

File

vendor/Twig/FunctionInterface.php, line 28

Class

Twig_FunctionInterface
Represents a template function.

Code

public function compile();