D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
usr
/
local
/
psa
/
admin
/
plib
/
vendor
/
bjeavons
/
zxcvbn-php
/
src
/
Matchers
/
Filename :
MatchInterface.php
back
Copy
<?php declare(strict_types=1); namespace ZxcvbnPhp\Matchers; interface MatchInterface { /** * Match this password. * * @param string $password Password to check for match * @param array $userInputs Array of values related to the user (optional) * @code array('Alice Smith') * @endcode * * @return array|BaseMatch[] Array of Match objects */ public static function match(string $password, array $userInputs = []): array; public function getGuesses(): float; public function getGuessesLog10(): float; }