SessionHandler::__construct

public SessionHandler::__construct(RequestStack $request_stack, Connection $connection)

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 41

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;
}
doc_Drupal
2016-10-29 09:42:02
Comments
Leave a Comment

Please login to continue.