interface Twig_FilterInterface

Represents a template filter.

@package twig @author Fabien Potencier <fabien@symfony.com>

Hierarchy

Expanded class hierarchy of Twig_FilterInterface

All classes that implement Twig_FilterInterface

File

drupal/core/vendor/twig/twig/lib/Twig/FilterInterface.php, line 18

View source
interface Twig_FilterInterface {

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

}

Members