File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -452,8 +452,8 @@ read any flash messages from the session using ``app.flashes()``:
452
452
<?php endforeach ?>
453
453
454
454
.. versionadded :: 3.3
455
- The ``app.flashes() `` method was introduced in Symfony 3.3. Prior to version 3.3
456
- you had to use ``app.session.flashBag ``.
455
+ The ``app.flashes() `` Twig function was introduced in Symfony 3.3. Prior,
456
+ you had to use ``app.session.flashBag() ``.
457
457
458
458
.. note ::
459
459
Original file line number Diff line number Diff line change @@ -338,8 +338,8 @@ And you can display the flash message in the template like this:
338
338
{% endfor %}
339
339
340
340
.. versionadded :: 3.3
341
- The ``app.flashes() `` method was introduced in Symfony 3.3. Prior to version 3.3
342
- you had to use ``app.session.flashBag ``.
341
+ The ``app.flashes() `` Twig function was introduced in Symfony 3.3. Prior,
342
+ you had to use ``app.session.flashBag() ``.
343
343
344
344
Final Thoughts
345
345
--------------
Original file line number Diff line number Diff line change @@ -38,5 +38,5 @@ access the flash messages:
38
38
{% endif %}
39
39
40
40
.. versionadded :: 3.3
41
- The ``app.flashes() `` method was introduced in Symfony 3.3. Prior to version 3.3
42
- you had to use ``app.session.flashBag ``.
41
+ The ``app.flashes() `` Twig function was introduced in Symfony 3.3. Prior,
42
+ you had to use ``app.session.flashBag() ``.
You can’t perform that action at this time.
0 commit comments