You are here

public function Twig_Extension::getTokenParsers in Translation template extractor 7.3

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

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

Return value

Twig_TokenParserInterface[]

Overrides Twig_ExtensionInterface::getTokenParsers

4 methods override Twig_Extension::getTokenParsers()
Twig_Extension_Core::getTokenParsers in vendor/Twig/Extension/Core.php
Returns the token parser instances 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 25

Class

Twig_Extension

Code

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