From 917e6cab762edb6240af8b0bd2c94aed4cc5968a Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Sat, 3 Oct 2015 11:24:01 +0200 Subject: [PATCH] [#5640] some minor tweaks Replace tip by note and fix API doc reference. --- book/controller.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/book/controller.rst b/book/controller.rst index 950ac7e768d..1d15b914d7b 100644 --- a/book/controller.rst +++ b/book/controller.rst @@ -658,7 +658,7 @@ the following code will render the ``notice`` message: -.. tip:: +.. note:: By design, flash messages are meant to be processed exactly once. This means that they vanish from the session automatically when they are retrieved from @@ -667,7 +667,7 @@ the following code will render the ``notice`` message: .. tip:: You can use the - :method:`Symfony\\Component\\HttpFoundation\\Session\\Flash\\FlashBagInterface::peek()` + :method:`Symfony\\Component\\HttpFoundation\\Session\\Flash\\FlashBagInterface::peek` method instead to retrieve the message while keeping it in the bag. .. index::