[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/twig/twig/src/Extension/ -> ExtensionInterface.php (summary)

(no description)

File Size: 101 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ExtensionInterface:: (9 methods):
  initRuntime()
  getTokenParsers()
  getNodeVisitors()
  getFilters()
  getTests()
  getFunctions()
  getOperators()
  getGlobals()
  getName()


Interface: ExtensionInterface  - X-Ref

Interface implemented by extension classes.

initRuntime(Environment $environment)   X-Ref
Initializes the runtime environment.

This is where you can load some file that contains filter functions for instance.


getTokenParsers()   X-Ref
Returns the token parser instances to add to the existing list.

return: TokenParserInterface[]

getNodeVisitors()   X-Ref
Returns the node visitor instances to add to the existing list.

return: NodeVisitorInterface[]

getFilters()   X-Ref
Returns a list of filters to add to the existing list.

return: TwigFilter[]

getTests()   X-Ref
Returns a list of tests to add to the existing list.

return: TwigTest[]

getFunctions()   X-Ref
Returns a list of functions to add to the existing list.

return: TwigFunction[]

getOperators()   X-Ref
Returns a list of operators to add to the existing list.

return: array<array> First array of unary operators, second array of binary operators

getGlobals()   X-Ref
Returns a list of global variables to add to the existing list.

return: array An array of global variables

getName()   X-Ref
Returns the name of the extension.

return: string The extension name



Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1