You are here

public function Session::clear in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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\Session

Code

public function clear() {
  $this->storage
    ->getBag($this->attributeName)
    ->clear();
}