4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\HttpFoundation\Session;
17 * @author Drak <drak@zikula.org>
19 interface SessionBagInterface
22 * Gets this bag's name.
26 public function getName();
29 * Initializes the Bag.
31 public function initialize(array &$array);
34 * Gets the storage key for this bag.
38 public function getStorageKey();
41 * Clears out data from bag.
43 * @return mixed Whatever data was contained
45 public function clear();