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.
12 abstract class Twig_Extension implements Twig_ExtensionInterface
15 * @deprecated since 1.23 (to be removed in 2.0), implement Twig_Extension_InitRuntimeInterface instead
17 public function initRuntime(Twig_Environment $environment)
21 public function getTokenParsers()
26 public function getNodeVisitors()
31 public function getFilters()
36 public function getTests()
41 public function getFunctions()
46 public function getOperators()
52 * @deprecated since 1.23 (to be removed in 2.0), implement Twig_Extension_GlobalsInterface instead
54 public function getGlobals()
60 * @deprecated since 1.26 (to be removed in 2.0), not used anymore internally
62 public function getName()
64 return get_class($this);
68 class_alias('Twig_Extension', 'Twig\Extension\AbstractExtension', false);
69 class_exists('Twig_Environment');