You are here

protected property AnonymousUserResponseSubscriber::$currentUser in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/EventSubscriber/AnonymousUserResponseSubscriber.php \Drupal\Core\EventSubscriber\AnonymousUserResponseSubscriber::currentUser
  2. 10 core/lib/Drupal/Core/EventSubscriber/AnonymousUserResponseSubscriber.php \Drupal\Core\EventSubscriber\AnonymousUserResponseSubscriber::currentUser

The current user.

Type: \Drupal\Core\Session\AccountInterface

File

core/lib/Drupal/Core/EventSubscriber/AnonymousUserResponseSubscriber.php, line 22

Class

AnonymousUserResponseSubscriber
Response subscriber to handle finished responses for the anonymous user.

Namespace

Drupal\Core\EventSubscriber

Code

protected $currentUser;