TemplateVariableContainer
class TemplateVariableContainer extends StandardVariableProvider (View source)
Provides the variables inside fluid template. Adds TemplateObjectAccessInterface functionality.
Methods
Get a variable by dotted path expression, retrieving the variable from nested arrays/objects one segment at a time.
No description
Tries to interpret the given path as boolean value, either returns the boolean value or null.
Details
mixed
getByPath(string $path)
Get a variable by dotted path expression, retrieving the variable from nested arrays/objects one segment at a time.
This sadly mostly copies the parent method to add handling for subjects of type TemplateObjectAccessInterface.
protected string
resolveSubVariableReferences(string $propertyPath)
No description
protected bool|null
getBooleanValue(string $path)
Tries to interpret the given path as boolean value, either returns the boolean value or null.