interface Twig_FunctionInterface

Represents a template function.

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

Hierarchy

Expanded class hierarchy of Twig_FunctionInterface

All classes that implement Twig_FunctionInterface

File

drupal/core/vendor/twig/twig/lib/Twig/FunctionInterface.php, line 19

View source
interface Twig_FunctionInterface {

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

}

Members