DefaultProvider

class \TYPO3\CMS\Core\ExpressionLanguage\DefaultProvider

Extends
AbstractProvider

Prepare a couple of default variables and register some general functions that work with it.

Attributes

#[Autoconfigure]
$public: true

Table of Contents

Properties

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

Methods

__construct()  : mixed
getExpressionLanguageProviders()  : array<int, class-string>
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, class-string> $expressionLanguageProviders = []

$expressionLanguageVariables

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

Methods

getExpressionLanguageProviders()

An array of class names which implements the ExpressionFunctionProviderInterface

public getExpressionLanguageProviders() : array<int, class-string>

Return values

array<int, class-string>

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