ExpressionLanguage
class ExpressionLanguage extends ExpressionLanguage
Adds some function to the default ExpressionLanguage.
Methods
string
from ExpressionLanguage
string
from ExpressionLanguage
from ExpressionLanguage
register(string $name, callable $compiler, callable $evaluator)
Registers a function.
from ExpressionLanguage
from ExpressionLanguage
Details
at line line 26
__construct(ParserCacheInterface $cache = null, array $providers = array())
in ExpressionLanguage at line line 55
string
compile(Expression|string $expression, array $names = array())
Compiles an expression source code.
in ExpressionLanguage at line line 68
string
evaluate(Expression|string $expression, array $values = array())
Evaluate an expression.
in ExpressionLanguage at line line 81
ParsedExpression
parse(Expression|string $expression, array $names)
Parses an expression.
in ExpressionLanguage at line line 115
register(string $name, callable $compiler, callable $evaluator)
Registers a function.