Skip to content

Commit 583ec92

Browse files
committed
bug #4984 Fix the example using SerializedParsedExpression (stof)
This PR was merged into the 2.5 branch. Discussion ---------- Fix the example using SerializedParsedExpression Closes #4970 Commits ------- b51bdbe Fix the example using SerializedParsedExpression
2 parents 169315b + b51bdbe commit 583ec92

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)