You are here

public function SessionHandler::__construct in Zircon Profile 8

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

Constructs a new SessionHandler instance.

Parameters

\Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack.

\Drupal\Core\Database\Connection $connection: The database connection.

File

core/lib/Drupal/Core/Session/SessionHandler.php, line 46
Contains \Drupal\Core\Session\SessionHandler.

Class

SessionHandler
Default session handler.

Namespace

Drupal\Core\Session

Code

public function __construct(RequestStack $request_stack, Connection $connection) {
  $this->requestStack = $request_stack;
  $this->connection = $connection;
}