function SessionBagInterface::clear
Clears out data from bag.
Return value
mixed Whatever data was contained
5 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.
- SessionBagProxy::clear in vendor/
symfony/ http-foundation/ Session/ SessionBagProxy.php - Clears out data from bag.
File
-
vendor/
symfony/ http-foundation/ Session/ SessionBagInterface.php, line 41
Class
- SessionBagInterface
- Session Bag store.
Namespace
Symfony\Component\HttpFoundation\SessionCode
public function clear() : mixed;