DefaultProvider extends AbstractProvider
Prepare a couple of default variables and register some general functions that work with it.
Table of Contents
Properties
- $expressionLanguageProviders : array<int, ExpressionFunctionProviderInterface>>
- $expressionLanguageVariables : array<non-empty-string, mixed>
Methods
- __construct() : mixed
- 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
__construct()
public
__construct(Typo3Version $typo3Version, Context $context, Features $features) : mixed
Parameters
- $typo3Version : Typo3Version
- $context : Context
- $features : Features
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>