You are here

public function SessionConfiguration::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Session/SessionConfiguration.php \Drupal\Core\Session\SessionConfiguration::__construct()

Constructs a new session configuration instance.

Parameters

array $options: An associative array of session ini settings.

See also

\Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage::__construct()

http://php.net/manual/session.configuration.php

File

core/lib/Drupal/Core/Session/SessionConfiguration.php, line 26

Class

SessionConfiguration
Defines the default session configuration generator.

Namespace

Drupal\Core\Session

Code

public function __construct($options = []) {
  $this->options = $options;
}