class ExpressionLanguageProvider implements ExpressionFunctionProviderInterface

Define some ExpressionLanguage functions.

To get a service, use service('request'). To get a parameter, use parameter('kernel.debug').

Methods

__construct(callable $serviceCompiler = null)

No description

getFunctions()

No description

Details

__construct(callable $serviceCompiler = null)

Parameters

callable $serviceCompiler

ExpressionFunction[] getFunctions()

Return Value

ExpressionFunction[] An array of Function instances