You are here

public function Session::save in Zircon Profile 8

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

Force the session to be saved and closed.

This method is generally not required for real sessions as the session will be automatically saved at the end of code execution.

Overrides SessionInterface::save

File

vendor/symfony/http-foundation/Session/Session.php, line 179

Class

Session
Session.

Namespace

Symfony\Component\HttpFoundation\Session

Code

public function save() {
  $this->storage
    ->save();
}