class PhpassHashedPasswordLog2BoundariesDouble

Same name in other branches
  1. 10 core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php \Drupal\Tests\phpass\Unit\PhpassHashedPasswordLog2BoundariesDouble

Test double for test coverage of enforceLog2Boundaries().

Hierarchy

Expanded class hierarchy of PhpassHashedPasswordLog2BoundariesDouble

File

core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php, line 172

Namespace

Drupal\Tests\phpass\Unit
View source
class PhpassHashedPasswordLog2BoundariesDouble extends PhpassHashedPassword {
    public function __construct() {
        // Noop.
    }
    
    /**
     * Exposes this method as public for tests.
     */
    public function enforceLog2Boundaries($count_log2) {
        return parent::enforceLog2Boundaries($count_log2);
    }

}

Members

Title Sort descending Modifiers Object type Summary
PhpassHashedPasswordLog2BoundariesDouble::enforceLog2Boundaries public function Exposes this method as public for tests.
PhpassHashedPasswordLog2BoundariesDouble::__construct public function

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