You are here

public function Twig_Extension::getTokenParsers in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.3 vendor/Twig/Extension.php \Twig_Extension::getTokenParsers()

Returns the token parser instances to add to the existing list.

Return value

array An array of Twig_TokenParserInterface or Twig_TokenParserBrokerInterface instances

Overrides Twig_ExtensionInterface::getTokenParsers

4 methods override Twig_Extension::getTokenParsers()
Twig_Extension_Core::getTokenParsers in vendor/Twig/Extension/Core.php
Returns the token parser instance to add to the existing list.
Twig_Extension_Escaper::getTokenParsers in vendor/Twig/Extension/Escaper.php
Returns the token parser instances to add to the existing list.
Twig_Extension_Sandbox::getTokenParsers in vendor/Twig/Extension/Sandbox.php
Returns the token parser instances to add to the existing list.
Twig_Extension_Staging::getTokenParsers in vendor/Twig/Extension/Staging.php
Returns the token parser instances to add to the existing list.

File

vendor/Twig/Extension.php, line 29

Class

Twig_Extension

Code

public function getTokenParsers() {
  return array();
}