Skip to content

Commit 7de37a7

Browse files
committed
minor #19992 [ExpressionLanguage] Add support for comments (javiereguiluz)
This PR was merged into the 7.2 branch. Discussion ---------- [ExpressionLanguage] Add support for comments Fixes #19989. Commits ------- c3fdc75 [ExpressionLanguage] Add support for comments
2 parents 6aecd2a + c3fdc75 commit 7de37a7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

reference/formats/expression_language.rst

+5
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ The component supports:
2020
* **booleans** - ``true`` and ``false``
2121
* **null** - ``null``
2222
* **exponential** - also known as scientific (e.g. ``1.99E+3`` or ``1e-2``)
23+
* **comments** - using ``/*`` and ``*/`` (e.g. ``/* this is a comment */``)
24+
25+
.. versionadded:: 7.2
26+
27+
The support for comments inside expressions was introduced in Symfony 7.2.
2328

2429
.. caution::
2530

0 commit comments

Comments
 (0)