4 * This file is part of Twig.
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
13 * Represents a template filter.
15 * Use Twig_SimpleFilter instead.
17 * @author Fabien Potencier <fabien@symfony.com>
19 * @deprecated since 1.12 (to be removed in 2.0)
21 interface Twig_FilterInterface
26 * @return string The PHP code for the filter
28 public function compile();
30 public function needsEnvironment();
32 public function needsContext();
34 public function getSafe(Twig_Node $filterArgs);
36 public function getPreservesSafety();
38 public function getPreEscape();
40 public function setArguments($arguments);
42 public function getArguments();