function LoginCommand::__construct

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

File

core/modules/user/src/Command/LoginCommand.php, line 32

Class

LoginCommand
Generate a one-time login link.

Namespace

Drupal\user\Command

Code

public function __construct(protected readonly EntityTypeManagerInterface $entityTypeManager, protected readonly OneTimeAuthentication $oneTimeAuthentication) {
}

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