public function FakePhpassHashedPassword::__construct in Drupal 9
Same name and namespace in other branches
- 8 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\PasswordCode
public function __construct() {
// Noop.
}