public function Session::clear in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Session/Session.php \Symfony\Component\HttpFoundation\Session\Session::clear()
Clears all attributes.
Overrides SessionInterface::clear
File
- vendor/
symfony/ http-foundation/ Session/ Session.php, line 125
Class
- Session
- Session.
Namespace
Symfony\Component\HttpFoundation\SessionCode
public function clear() {
$this->storage
->getBag($this->attributeName)
->clear();
}