Closed
Description
The last example of the Expression language caching section (https://github.com/symfony/symfony-docs/blob/2.6/components/expression_language/caching.rst) doesn't work :
$expression = new SerializedParsedExpression(
serialize($language->parse('1 + 4', array()))
);
The SerializedParsedExpression
constructor requires a $nodes
parameters.
I'm not really sure on how to do it the right way.