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