GlobalContainer
class GlobalContainer (View source)
The GlobalContainer class.
Methods
getExtension
removeExtension
Method to get property Extensions
Method to set property extensions
setGlobal
getGlobal
removeGlobal
Method to get property Globals
Method to set property globals
Method to get property RawTags
Method to set property rawTags
Method to get property ContentTags
Method to set property contentTags
Method to get property EscapedTags
Method to set property escapedTags
Details
at line line 63
static void
addExtension(EdgeExtensionInterface $extension, string $name = null)
addExtension
at line line 75
static Twig_ExtensionInterface
getExtension(string $name)
getExtension
at line line 92
static void
removeExtension(string $name)
removeExtension
at line line 105
static EdgeExtensionInterface[]
getExtensions()
Method to get property Extensions
at line line 117
static void
setExtensions(array $extensions)
Method to set property extensions
at line line 130
static void
addGlobal(string $name, mixed $value)
setGlobal
at line line 142
static mixed
getGlobal(string $name)
getGlobal
at line line 159
static void
removeGlobal(string $name)
removeGlobal
at line line 172
static array
getGlobals()
Method to get property Globals
at line line 184
static void
setGlobals(array $globals)
Method to set property globals
at line line 194
static array
getRawTags()
Method to get property RawTags
at line line 205
static
setRawTags(string $start, string $end)
Method to set property rawTags
at line line 215
static array
getContentTags()
Method to get property ContentTags
at line line 226
static
setContentTags(string $start, string $end)
Method to set property contentTags
at line line 236
static array
getEscapedTags()
Method to get property EscapedTags
at line line 247
static
setEscapedTags(string $start, string $end)
Method to set property escapedTags