You are here

public function Twig_Function_Function::compile in Translation template extractor 6.3

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

Compiles a function.

Return value

string The PHP code for the function

Overrides Twig_FunctionInterface::compile

File

vendor/Twig/Function/Function.php, line 34

Class

Twig_Function_Function
Represents a function template function.

Code

public function compile() {
  return $this->function;
}