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

Breadcrumb

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

function MemcachedSessionHandler::doDestroy

Overrides AbstractSessionHandler::doDestroy

File

vendor/symfony/http-foundation/Session/Storage/Handler/MemcachedSessionHandler.php, line 90

Class

MemcachedSessionHandler
Memcached based session storage handler based on the Memcached class provided by the PHP memcached extension.

Namespace

Symfony\Component\HttpFoundation\Session\Storage\Handler

Code

protected function doDestroy(string $sessionId) : bool {
    $result = $this->memcached
        ->delete($this->prefix . $sessionId);
    return $result || \Memcached::RES_NOTFOUND == $this->memcached
        ->getResultCode();
}

API Navigation

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