class FakePhpassHashedPassword

A fake class for tests.

Hierarchy

Expanded class hierarchy of FakePhpassHashedPassword

File

core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php, line 177

Namespace

Drupal\Tests\Core\Password
View 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.