function LogoutFinalizer::__construct

Same name and namespace in other branches
  1. 11.x core/modules/user/src/LogoutFinalizer.php \Drupal\user\LogoutFinalizer::__construct()

File

core/modules/user/src/LogoutFinalizer.php, line 19

Class

LogoutFinalizer
Finalize user logout.

Namespace

Drupal\user

Code

public function __construct(protected AccountProxyInterface $accountProxy, protected SessionManagerInterface $sessionManager, protected ModuleHandlerInterface $moduleHandler, #[Autowire(service: 'logger.channel.user')] protected LoggerInterface $logger) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.