From ae3fc099411f043886d5b8db847f96408203e040 Mon Sep 17 00:00:00 2001 From: rwitchell Date: Tue, 8 Aug 2017 14:13:12 +1000 Subject: [PATCH 1/2] Update SessionInterface.php --- .../Component/HttpFoundation/Session/SessionInterface.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Symfony/Component/HttpFoundation/Session/SessionInterface.php b/src/Symfony/Component/HttpFoundation/Session/SessionInterface.php index d3fcd2eec4e7..4653a6b3a299 100644 --- a/src/Symfony/Component/HttpFoundation/Session/SessionInterface.php +++ b/src/Symfony/Component/HttpFoundation/Session/SessionInterface.php @@ -12,6 +12,7 @@ namespace Symfony\Component\HttpFoundation\Session; use Symfony\Component\HttpFoundation\Session\Storage\MetadataBag; +use Symfony\Component\HttpFoundation\Session\Flash\FlashBagInterface; /** * Interface for the session. @@ -172,6 +173,13 @@ public function registerBag(SessionBagInterface $bag); * @return SessionBagInterface */ public function getBag($name); + + /** + * Gets the flashbag interface. + * + * @return FlashBagInterface + */ + public function getFlashBag(); /** * Gets session meta. From 5baeba7bff91c29457b864e62730081cbd9050f9 Mon Sep 17 00:00:00 2001 From: rwitchell Date: Tue, 8 Aug 2017 14:19:06 +1000 Subject: [PATCH 2/2] fix spacing --- .../Component/HttpFoundation/Session/SessionInterface.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/HttpFoundation/Session/SessionInterface.php b/src/Symfony/Component/HttpFoundation/Session/SessionInterface.php index 4653a6b3a299..446e4e259ad0 100644 --- a/src/Symfony/Component/HttpFoundation/Session/SessionInterface.php +++ b/src/Symfony/Component/HttpFoundation/Session/SessionInterface.php @@ -173,7 +173,7 @@ public function registerBag(SessionBagInterface $bag); * @return SessionBagInterface */ public function getBag($name); - + /** * Gets the flashbag interface. *