ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Twig_Tests_EnvironmentTest_ExtensionWithDeprecationInitRuntime Class Reference
+ Inheritance diagram for Twig_Tests_EnvironmentTest_ExtensionWithDeprecationInitRuntime:
+ Collaboration diagram for Twig_Tests_EnvironmentTest_ExtensionWithDeprecationInitRuntime:

Public Member Functions

 initRuntime (Twig_Environment $env)
 Initializes the runtime environment. More...
 
- Public Member Functions inherited from Twig_Extension
 initRuntime (Twig_Environment $environment)
 
 getTokenParsers ()
 Returns the token parser instances to add to the existing list. More...
 
 getNodeVisitors ()
 Returns the node visitor instances to add to the existing list. More...
 
 getFilters ()
 Returns a list of filters to add to the existing list. More...
 
 getTests ()
 Returns a list of tests to add to the existing list. More...
 
 getFunctions ()
 Returns a list of functions to add to the existing list. More...
 
 getOperators ()
 Returns a list of operators to add to the existing list. More...
 
 getGlobals ()
 
 getName ()
 

Detailed Description

Definition at line 641 of file EnvironmentTest.php.

Member Function Documentation

◆ initRuntime()

Twig_Tests_EnvironmentTest_ExtensionWithDeprecationInitRuntime::initRuntime ( Twig_Environment  $environment)

Initializes the runtime environment.

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

Deprecated:
since 1.23 (to be removed in 2.0), implement Twig_Extension_InitRuntimeInterface instead

Implements Twig_ExtensionInterface.

Definition at line 643 of file EnvironmentTest.php.

References $env.

646 {

The documentation for this class was generated from the following file: