getGlobals()
getGlobals() : array
Returns a list of global variables to add to the existing list.
Returns
array —An array of global variables
Enables usage of the deprecated Twig_Extension::getGlobals() method.
Explicitly implement this interface if you really need to implement the deprecated getGlobals() method in your extensions.
Loading…