function PhpassHashedPasswordBase::__construct

Same name and namespace in other branches
  1. 10 core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php \Drupal\Core\Password\PhpassHashedPasswordBase::__construct()

Constructs a new password hashing instance.

Parameters

\Drupal\Core\Password\PasswordInterface $corePassword: The core PHP password interface.

1 method overrides PhpassHashedPasswordBase::__construct()
PhpassHashedPasswordLog2BoundariesDouble::__construct in core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php
Constructs a new password hashing instance.

File

core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php, line 45

Class

PhpassHashedPasswordBase
Legacy password hashing framework.

Namespace

Drupal\Core\Password

Code

public function __construct(protected PasswordInterface $corePassword) {
}

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