GlobalsInterface

Extends

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.

author

Fabien Potencier fabien@symfony.com

package

Default

Methods