InitRuntimeInterface
in
Enables usage of the deprecated Twig\Extension\AbstractExtension::initRuntime() method.
Explicitly implement this interface if you really need to implement the deprecated initRuntime() method in your extensions.
Tags
Table of Contents
- initRuntime() : mixed
- Initializes the runtime environment.
Methods
initRuntime()
Initializes the runtime environment.
public
initRuntime(Environment $environment) : mixed
This is where you can load some file that contains filter functions for instance.
Parameters
- $environment : Environment