diff --git a/src/Symfony/Component/HttpFoundation/Session/SessionInterface.php b/src/Symfony/Component/HttpFoundation/Session/SessionInterface.php index d3fcd2eec4e73..446e4e259ad09 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. @@ -173,6 +174,13 @@ public function registerBag(SessionBagInterface $bag); */ public function getBag($name); + /** + * Gets the flashbag interface. + * + * @return FlashBagInterface + */ + public function getFlashBag(); + /** * Gets session meta. *