You are here

public function Twig_FunctionInterface::compile in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/twig/twig/lib/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/twig/lib/Twig/Function/Function.php
Compiles a function.
Twig_Function_Method::compile in vendor/twig/twig/lib/Twig/Function/Method.php
Compiles a function.
Twig_Function_Node::compile in vendor/twig/twig/lib/Twig/Function/Node.php
Compiles a function.

File

vendor/twig/twig/lib/Twig/FunctionInterface.php, line 29

Class

Twig_FunctionInterface
Represents a template function.

Code

public function compile();