Chris@0: Chris@0: * Chris@0: * For the full copyright and license information, please view the LICENSE Chris@0: * file that was distributed with this source code. Chris@0: */ Chris@0: Chris@0: namespace Symfony\Component\HttpFoundation\Session; Chris@0: Chris@0: /** Chris@0: * Session Bag store. Chris@0: * Chris@0: * @author Drak Chris@0: */ Chris@0: interface SessionBagInterface Chris@0: { Chris@0: /** Chris@0: * Gets this bag's name. Chris@0: * Chris@0: * @return string Chris@0: */ Chris@0: public function getName(); Chris@0: Chris@0: /** Chris@0: * Initializes the Bag. Chris@0: */ Chris@0: public function initialize(array &$array); Chris@0: Chris@0: /** Chris@0: * Gets the storage key for this bag. Chris@0: * Chris@0: * @return string Chris@0: */ Chris@0: public function getStorageKey(); Chris@0: Chris@0: /** Chris@0: * Clears out data from bag. Chris@0: * Chris@0: * @return mixed Whatever data was contained Chris@0: */ Chris@0: public function clear(); Chris@0: }