You are here

public function AnonymousUserSession::__construct in Drupal 9

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

Constructs a new anonymous user session.

Intentionally don't allow parameters to be passed in like UserSession.

Overrides UserSession::__construct

File

core/lib/Drupal/Core/Session/AnonymousUserSession.php, line 15

Class

AnonymousUserSession
An account implementation representing an anonymous user.

Namespace

Drupal\Core\Session

Code

public function __construct() {
}