No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

SessionBagInterface.php 849B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?php
  2. /*
  3. * This file is part of the Symfony package.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Symfony\Component\HttpFoundation\Session;
  11. /**
  12. * Session Bag store.
  13. *
  14. * @author Drak <drak@zikula.org>
  15. */
  16. interface SessionBagInterface
  17. {
  18. /**
  19. * Gets this bag's name.
  20. *
  21. * @return string
  22. */
  23. public function getName();
  24. /**
  25. * Initializes the Bag.
  26. */
  27. public function initialize(array &$array);
  28. /**
  29. * Gets the storage key for this bag.
  30. *
  31. * @return string
  32. */
  33. public function getStorageKey();
  34. /**
  35. * Clears out data from bag.
  36. *
  37. * @return mixed Whatever data was contained
  38. */
  39. public function clear();
  40. }