for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Groundsix\Password;
interface Validator
{
/**
* Validates the password against the current rule.
*
* @param string $password The password to verify.
* @return bool True if the password passes. False otherwise.
* @throws PasswordException
*/
public function validate(string $password): bool;
}