Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SessionInterface.php

function SessionInterface::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.

1 method overrides SessionInterface::save()
Session::save in vendor/symfony/http-foundation/Session/Session.php
Force the session to be saved and closed.

File

vendor/symfony/http-foundation/Session/SessionInterface.php, line 82

Class

SessionInterface
Interface for the session.

Namespace

Symfony\Component\HttpFoundation\Session

Code

public function save() : void;
RSS feed
Powered by Drupal