function AnonymousUserSession::__construct
Same name in other branches
- 9 core/lib/Drupal/Core/Session/AnonymousUserSession.php \Drupal\Core\Session\AnonymousUserSession::__construct()
- 10 core/lib/Drupal/Core/Session/AnonymousUserSession.php \Drupal\Core\Session\AnonymousUserSession::__construct()
- 11.x 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\SessionCode
public function __construct() {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.