AbstractProvider implements ProviderInterface

AbstractYes

Provide functions and variables to symfony expression language.

Note 'variables' should only rely on things that can be injected. Accessing for instance $GLOBALS['TYPO3_REQUEST'] and providing this as variable is a misuse - runtime related variables must be provided by the caller to the Resolver class directly.

Table of Contents

Interfaces

ProviderInterface

Properties

$expressionLanguageProviders  : array<int, ExpressionFunctionProviderInterface>>
$expressionLanguageVariables  : array<non-empty-string, mixed>

Methods

getExpressionLanguageProviders()  : array<int, ExpressionFunctionProviderInterface>>
An array of class names which implements the ExpressionFunctionProviderInterface
getExpressionLanguageVariables()  : array<non-empty-string, mixed>
An array with key/value pairs. The key will be available as variable name

Properties

$expressionLanguageProviders

protected array<int, ExpressionFunctionProviderInterface>> $expressionLanguageProviders = []

$expressionLanguageVariables

protected array<non-empty-string, mixed> $expressionLanguageVariables = []

Methods

getExpressionLanguageProviders()

An array of class names which implements the ExpressionFunctionProviderInterface

public getExpressionLanguageProviders() : array<int, ExpressionFunctionProviderInterface>>
Return values
array<int, ExpressionFunctionProviderInterface>>

getExpressionLanguageVariables()

An array with key/value pairs. The key will be available as variable name

public getExpressionLanguageVariables() : array<non-empty-string, mixed>
Return values
array<non-empty-string, mixed>

        
On this page

Search results