public function AnonymousUserSession::__construct

public 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() {
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Session!AnonymousUserSession.php/function/AnonymousUserSession::__construct/8.1.x