PHP Class Neos\FluidAdaptor\Core\ViewHelper\TemplateVariableContainer

Inheritance: extends TYPO3Fluid\Fluid\Core\Variables\StandardVariableProvider, implements TYPO3Fluid\Fluid\Core\Variables\VariableProviderInterface
Mostrar archivo Open project: neos/flow-development-collection Class Usage Examples

Public Methods

Method Description
get ( string $identifier ) : mixed
getByPath ( string $path, array $accessors = [] ) : mixed Get a variable by dotted path expression, retrieving the variable from nested arrays/objects one segment at a time.

Protected Methods

Method Description
getBooleanValue ( $path ) : boolean | null Tries to interpret the given path as boolean value, either returns the boolean value or null.

Method Details

get() public method

public get ( string $identifier ) : mixed
$identifier string
return mixed

getBooleanValue() protected method

Tries to interpret the given path as boolean value, either returns the boolean value or null.
protected getBooleanValue ( $path ) : boolean | null
$path
return boolean | null

getByPath() public method

If the second argument is provided, it must be an array of accessor names which can be used to extract each value in the dotted path.
public getByPath ( string $path, array $accessors = [] ) : mixed
$path string
$accessors array
return mixed