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

Breadcrumb

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

function SessionHandlerProxy::__construct

File

vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php, line 21

Class

SessionHandlerProxy
@author Drak <drak@zikula.org>

Namespace

Symfony\Component\HttpFoundation\Session\Storage\Proxy

Code

public function __construct(\SessionHandlerInterface $handler) {
    $this->wrapper = $handler instanceof \SessionHandler;
    $this->saveHandlerName = $this->wrapper || $handler instanceof StrictSessionHandler && $handler->isWrapper() ? \ini_get('session.save_handler') : 'user';
}

API Navigation

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