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

Breadcrumb

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

function SessionFactory::createSession

Overrides SessionFactoryInterface::createSession

File

vendor/symfony/http-foundation/Session/SessionFactory.php, line 35

Class

SessionFactory
@author Jérémy Derussé <jeremy@derusse.com>

Namespace

Symfony\Component\HttpFoundation\Session

Code

public function createSession() : SessionInterface {
    return new Session($this->storageFactory
        ->createStorage($this->requestStack
        ->getMainRequest()), null, null, $this->usageReporter);
}

API Navigation

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