PHP Class Neos\FluidAdaptor\Core\ViewHelper\TemplateVariableContainer

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

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode 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 méthode

public get ( string $identifier ) : mixed
$identifier string
Résultat mixed

getBooleanValue() protected méthode

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

getByPath() public méthode

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
Résultat mixed