function UserSessionRepository::__construct

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

File

core/lib/Drupal/Core/Session/UserSessionRepository.php, line 14

Class

UserSessionRepository
Provides the default user session repository.

Namespace

Drupal\Core\Session

Code

public function __construct(protected Connection $connection) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.