From 6b419d02f349c3e977731a54ab5ed12793707248 Mon Sep 17 00:00:00 2001 From: Lorenz Schori Date: Wed, 5 Nov 2014 18:40:44 +0100 Subject: [PATCH] Add getFlashBag() to SessionInterface --- src/Symfony/Component/HttpFoundation/Session/Session.php | 4 +--- .../Component/HttpFoundation/Session/SessionInterface.php | 7 +++++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/Symfony/Component/HttpFoundation/Session/Session.php b/src/Symfony/Component/HttpFoundation/Session/Session.php index ac626fd58998d..6864f1e7641db 100644 --- a/src/Symfony/Component/HttpFoundation/Session/Session.php +++ b/src/Symfony/Component/HttpFoundation/Session/Session.php @@ -240,9 +240,7 @@ public function getBag($name) } /** - * Gets the flashbag interface. - * - * @return FlashBagInterface + * {@inheritdoc} */ public function getFlashBag() { diff --git a/src/Symfony/Component/HttpFoundation/Session/SessionInterface.php b/src/Symfony/Component/HttpFoundation/Session/SessionInterface.php index f98c0a4a1c3ca..a7b6c2e1647e3 100644 --- a/src/Symfony/Component/HttpFoundation/Session/SessionInterface.php +++ b/src/Symfony/Component/HttpFoundation/Session/SessionInterface.php @@ -205,4 +205,11 @@ public function getBag($name); * @return MetadataBag */ public function getMetadataBag(); + + /** + * Gets the flash bag. + * + * @return FlashBagInterface + */ + public function getFlashBag(); }