diff --git a/src/Symfony/Component/HttpFoundation/Session/Session.php b/src/Symfony/Component/HttpFoundation/Session/Session.php index cdd97375b9054..83b6a47ada18b 100644 --- a/src/Symfony/Component/HttpFoundation/Session/Session.php +++ b/src/Symfony/Component/HttpFoundation/Session/Session.php @@ -238,9 +238,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 d3fcd2eec4e73..de0723e35de0c 100644 --- a/src/Symfony/Component/HttpFoundation/Session/SessionInterface.php +++ b/src/Symfony/Component/HttpFoundation/Session/SessionInterface.php @@ -11,6 +11,7 @@ namespace Symfony\Component\HttpFoundation\Session; +use Symfony\Component\HttpFoundation\Session\Flash\FlashBagInterface; use Symfony\Component\HttpFoundation\Session\Storage\MetadataBag; /** @@ -179,4 +180,11 @@ public function getBag($name); * @return MetadataBag */ public function getMetadataBag(); + + /** + * Gets the flashbag interface. + * + * @return FlashBagInterface + */ + public function getFlashBag(); }