SessionBagInterface (Component\HttpFoundation\Session)

Symfony\Component\HttpFoundation\Session\SessionBagInterface

interface SessionBagInterface

Session Bag store.

Methods

string getName()

Gets this bag's name.

initialize(array $array)

Initializes the Bag.

string getStorageKey()

Gets the storage key for this bag.

mixed clear()

Clears out data from bag.

Details

public string getName()

Gets this bag's name.

Return Value

string

public initialize(array $array)

Initializes the Bag.

Parameters

array $array

public string getStorageKey()

Gets the storage key for this bag.

Return Value

string

public mixed clear()

Clears out data from bag.

Return Value

mixed Whatever data was contained.

© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/HttpFoundation/Session/SessionBagInterface.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部