You are here

public function Twig_Function_Function::compile in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/lib/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/twig/lib/Twig/Function/Function.php, line 37

Class

Twig_Function_Function
Represents a function template function.

Code

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