function PhpassHashedPasswordBase::__construct

Same name 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.

File

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

Class

PhpassHashedPasswordBase
Legacy password hashing framework.

Namespace

Drupal\Core\Password

Code

public function __construct(PasswordInterface $corePassword) {
}

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