You are here

public function SessionBagInterface::clear in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Session/SessionBagInterface.php \Symfony\Component\HttpFoundation\Session\SessionBagInterface::clear()

Clears out data from bag.

Return value

mixed Whatever data was contained.

4 methods override SessionBagInterface::clear()
AttributeBag::clear in vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php
Clears out data from bag.
AutoExpireFlashBag::clear in vendor/symfony/http-foundation/Session/Flash/AutoExpireFlashBag.php
Clears out data from bag.
FlashBag::clear in vendor/symfony/http-foundation/Session/Flash/FlashBag.php
Clears out data from bag.
MetadataBag::clear in vendor/symfony/http-foundation/Session/Storage/MetadataBag.php
Clears out data from bag.

File

vendor/symfony/http-foundation/Session/SessionBagInterface.php, line 47

Class

SessionBagInterface
Session Bag store.

Namespace

Symfony\Component\HttpFoundation\Session

Code

public function clear();