Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 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
    public function getName(): string;
25
 
26
    /**
27
     * Initializes the Bag.
28
     */
29
    public function initialize(array &$array);
30
 
31
    /**
32
     * Gets the storage key for this bag.
33
     */
34
    public function getStorageKey(): string;
35
 
36
    /**
37
     * Clears out data from bag.
38
     *
39
     * @return mixed Whatever data was contained
40
     */
41
    public function clear(): mixed;
42
}