class TemplateVariableContainer extends StandardVariableProvider implements VariableProviderInterface (View source)

Provides the variables inside fluid template. Adds TemplateObjectAccessInterface functionality.

Methods

mixed
getByPath(string $path)

Get a variable by dotted path expression, retrieving the variable from nested arrays/objects one segment at a time.

string
resolveSubVariableReferences(string $propertyPath)

No description

bool|null
getBooleanValue($path)

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.

Parameters

string $path

Return Value

mixed

protected string resolveSubVariableReferences(string $propertyPath)

No description

Parameters

string $propertyPath

Return Value

string

protected bool|null getBooleanValue($path)

Tries to interpret the given path as boolean value, either returns the boolean value or null.

Parameters

$path

Return Value

bool|null