]>
git.immae.eu Git - github/wallabag/wallabag.git/blob - vendor/twig/twig/lib/Twig/FunctionInterface.php
4 * This file is part of Twig.
6 * (c) 2010 Fabien Potencier
7 * (c) 2010 Arnaud Le Blanc
9 * For the full copyright and license information, please view the LICENSE
10 * file that was distributed with this source code.
14 * Represents a template function.
16 * Use Twig_SimpleFunction instead.
18 * @author Arnaud Le Blanc <arnaud.lb@gmail.com>
19 * @deprecated since 1.12 (to be removed in 2.0)
21 interface Twig_FunctionInterface
24 * Compiles a function.
26 * @return string The PHP code for the function
28 public function compile();
30 public function needsEnvironment();
32 public function needsContext();
34 public function getSafe(Twig_Node
$filterArgs);
36 public function setArguments($arguments);
38 public function getArguments();