You are here

public function AccountProxy::__construct in Drupal 9

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

AccountProxy constructor.

Parameters

\Symfony\Contracts\EventDispatcher\EventDispatcherInterface $eventDispatcher: Event dispatcher.

File

core/lib/Drupal/Core/Session/AccountProxy.php, line 50

Class

AccountProxy
A proxied implementation of AccountInterface.

Namespace

Drupal\Core\Session

Code

public function __construct(EventDispatcherInterface $eventDispatcher) {
  $this->eventDispatcher = $eventDispatcher;
}