You are here

interface Twig_FunctionInterface in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/lib/Twig/FunctionInterface.php \Twig_FunctionInterface

Represents a template function.

Use Twig_SimpleFunction instead.

@author Arnaud Le Blanc <arnaud.lb@gmail.com>

Hierarchy

Expanded class hierarchy of Twig_FunctionInterface

All classes that implement Twig_FunctionInterface

Deprecated

since 1.12 (to be removed in 2.0)

File

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

View source
interface Twig_FunctionInterface {

  /**
   * Compiles a function.
   *
   * @return string The PHP code for the function
   */
  public function compile();
  public function needsEnvironment();
  public function needsContext();
  public function getSafe(Twig_Node $filterArgs);
  public function setArguments($arguments);
  public function getArguments();

}

Members