W3cubDocs

/Symfony 4.1

SessionBagProxy

class SessionBagProxy implements SessionBagInterface

Methods

__construct(SessionBagInterface $bag, array $data, $usageIndex)
SessionBagInterface getBag()
bool isEmpty()
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

__construct(SessionBagInterface $bag, array $data, $usageIndex)

Parameters

SessionBagInterface $bag
array $data
$usageIndex

SessionBagInterface getBag()

Return Value

SessionBagInterface

bool isEmpty()

Return Value

bool

string getName()

Gets this bag's name.

Return Value

string

initialize(array $array)

Initializes the Bag.

Parameters

array $array

string getStorageKey()

Gets the storage key for this bag.

Return Value

string

mixed clear()

Clears out data from bag.

Return Value

mixed Whatever data was contained

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/HttpFoundation/Session/SessionBagProxy.html