public function SessionBagInterface::clear

Clears out data from bag.

Return value

mixed Whatever data was contained.

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

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/SessionBagInterface.php, line 47

Class

SessionBagInterface
Session Bag store.

Namespace

Symfony\Component\HttpFoundation\Session

Code

public function clear();