Classes, interfaces and traits

ExtensionInterface

Interface implemented by extension classes.

« More »

GlobalsInterface

Enables usage of the deprecated Twig\Extension\AbstractExtension::getGlobals() method.

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

« More »

InitRuntimeInterface

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.

« More »

RuntimeExtensionInterface

« More »

AbstractExtension

« More »

CoreExtension

« More »

DebugExtension

« More »

EscaperExtension

« More »

OptimizerExtension

« More »

ProfilerExtension

« More »

SandboxExtension

« More »

StagingExtension

Internal class.

This class is used by \Twig\Environment as a staging area and must not be used directly.

« More »

StringLoaderExtension

« More »