Twig_Extension_InitRuntimeInterface

Extends

Declares the deprecated Twig_Extension::initRuntime() method.

Explicitely implement this interface if you really need to implement the deprecated initRuntime() method in your extensions.

author

Fabien Potencier fabien@symfony.com

deprecated

to be removed in 3.0

package

Application

Methods

Initializes the runtime environment.

initRuntime(\Twig_Environmentenvironment) : mixed

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

Arguments

environment

Deprecated: Please use getType in phar:///app/lib/system/lib/phpdocumentor/lib/phpDocumentor.phar/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50 \Twig_Environment

The current Twig_Environment instance

Deprecated: Please use getType in phar:///app/lib/system/lib/phpdocumentor/lib/phpDocumentor.phar/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50 Deprecated: Please use getType in phar:///app/lib/system/lib/phpdocumentor/lib/phpDocumentor.phar/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50

Response

Deprecated: Please use getType in phar:///app/lib/system/lib/phpdocumentor/lib/phpDocumentor.phar/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50 mixed