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