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

Breadcrumb

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

function StrictSessionHandler::destroy

Overrides AbstractSessionHandler::destroy

File

vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php, line 63

Class

StrictSessionHandler
Adds basic `SessionUpdateTimestampHandlerInterface` behaviors to another `SessionHandlerInterface`.

Namespace

Symfony\Component\HttpFoundation\Session\Storage\Handler

Code

public function destroy(string $sessionId) : bool {
    $this->doDestroy = true;
    $destroyed = parent::destroy($sessionId);
    return $this->doDestroy ? $this->doDestroy($sessionId) : $destroyed;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal