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.
11 abstract class Twig_Extension implements Twig_ExtensionInterface
14 * @deprecated since 1.23 (to be removed in 2.0), implement Twig_Extension_InitRuntimeInterface instead
16 public function initRuntime(Twig_Environment $environment)
20 public function getTokenParsers()
25 public function getNodeVisitors()
30 public function getFilters()
35 public function getTests()
40 public function getFunctions()
45 public function getOperators()
51 * @deprecated since 1.23 (to be removed in 2.0), implement Twig_Extension_GlobalsInterface instead
53 public function getGlobals()
59 * @deprecated since 1.26 (to be removed in 2.0), not used anymore internally
61 public function getName()
63 return get_class($this);