ExpressionLanguage
ExpressionLanguage
class ExpressionLanguage
Allows to compile and evaluate expressions written in your own DSL.
Methods
__construct(CacheItemPoolInterface $cache = null, array $providers = array()) | ||
string | compile(Expression|string $expression, array $names = array()) Compiles an expression source code. | |
string | evaluate(Expression|string $expression, array $values = array()) Evaluate an ex |