diff --git a/src/Symfony/Component/HttpFoundation/Session/SessionInterface.php b/src/Symfony/Component/HttpFoundation/Session/SessionInterface.php index 7cd6f95ea4..5fe264eb65 100644 --- a/src/Symfony/Component/HttpFoundation/Session/SessionInterface.php +++ b/src/Symfony/Component/HttpFoundation/Session/SessionInterface.php @@ -165,13 +165,6 @@ interface SessionInterface */ function clear(); - /** - * Gets session meta. - * - * @return MetaBag - */ - public function getMeta(); - /** * Registers a SessionBagInterface with the session. * @@ -187,4 +180,11 @@ interface SessionInterface * @return SessionBagInterface */ public function getBag($name); + + /** + * Gets session meta. + * + * @return MetaBag + */ + public function getMeta(); } diff --git a/src/Symfony/Component/HttpFoundation/Session/Storage/SessionStorageInterface.php b/src/Symfony/Component/HttpFoundation/Session/Storage/SessionStorageInterface.php index 8bf2e5d32a..058d017380 100644 --- a/src/Symfony/Component/HttpFoundation/Session/Storage/SessionStorageInterface.php +++ b/src/Symfony/Component/HttpFoundation/Session/Storage/SessionStorageInterface.php @@ -12,6 +12,7 @@ namespace Symfony\Component\HttpFoundation\Session\Storage; use Symfony\Component\HttpFoundation\Session\SessionBagInterface; +use Symfony\Component\HttpFoundation\Session\Storage\MetaBag; /** * StorageInterface. @@ -123,4 +124,9 @@ interface SessionStorageInterface * @param SessionBagInterface $bag */ function registerBag(SessionBagInterface $bag); + + /** + * @return MetaBag + */ + function getMetaBag(); }