interface GlobalsInterface
Allows Twig extensions to add globals to the context.
@author Fabien Potencier <fabien@symfony.com>
Hierarchy
- interface \Twig\Extension\GlobalsInterface
Expanded class hierarchy of GlobalsInterface
All classes that implement GlobalsInterface
1 file declares its use of GlobalsInterface
- ExtensionSet.php in vendor/
twig/ twig/ src/ ExtensionSet.php
File
-
vendor/
twig/ twig/ src/ Extension/ GlobalsInterface.php, line 19
Namespace
Twig\ExtensionView source
interface GlobalsInterface {
/**
* @return array<string, mixed>
*/
public function getGlobals() : array;
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
GlobalsInterface::getGlobals | public | function |