class FakePhpassHashedPassword
A fake class for tests.
Hierarchy
- class \Drupal\Core\Password\PhpassHashedPassword extends \Drupal\Core\Password\PasswordInterface
- class \Drupal\Tests\Core\Password\FakePhpassHashedPassword implements \Drupal\Core\Password\PhpassHashedPassword
Expanded class hierarchy of FakePhpassHashedPassword
File
-
core/
tests/ Drupal/ Tests/ Core/ Password/ PasswordHashingTest.php, line 177
Namespace
Drupal\Tests\Core\PasswordView source
class FakePhpassHashedPassword extends PhpassHashedPassword {
public function __construct() {
// Noop.
}
/**
* Exposes this method as public for tests.
*/
public function enforceLog2Boundaries($count_log2) {
return parent::enforceLog2Boundaries($count_log2);
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.