You are here

public function FakePhpassHashedPassword::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php \Drupal\Tests\Core\Password\FakePhpassHashedPassword::__construct()

Constructs a new password hashing instance.

Parameters

int $countLog2: Password stretching iteration count. Specifies the number of times the hashing function will be applied when generating new password hashes. The number of times is calculated by raising 2 to the power of the given value.

Overrides PhpassHashedPassword::__construct

File

core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php, line 179
Contains \Drupal\Tests\Core\Password\PasswordHashingTest.

Class

FakePhpassHashedPassword
A fake class for tests.

Namespace

Drupal\Tests\Core\Password

Code

public function __construct() {

  // Noop.
}