Skip to content

Commit b51bdbe

Browse files
committed
Fix the example using SerializedParsedExpression
Closes #4970
1 parent 169315b commit b51bdbe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/expression_language/caching.rst

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ Both ``evaluate()`` and ``compile()`` can handle ``ParsedExpression`` and
6464
// ...
6565
6666
$expression = new SerializedParsedExpression(
67+
'1 + 4',
6768
serialize($language->parse('1 + 4', array()))
6869
);
6970

0 commit comments

Comments
 (0)