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

Breadcrumb

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

function NullSessionHandler::doRead

Overrides AbstractSessionHandler::doRead

File

vendor/symfony/http-foundation/Session/Storage/Handler/NullSessionHandler.php, line 31

Class

NullSessionHandler
Can be used in unit testing or in a situations where persisted sessions are not desired.

Namespace

Symfony\Component\HttpFoundation\Session\Storage\Handler

Code

protected function doRead(string $sessionId) : string {
    return '';
}

API Navigation

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