| Total Lines | 11 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | interface Validator |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Validates the password against the current rule. |
||
| 11 | * |
||
| 12 | * @param string $password The password to verify. |
||
| 13 | * @return bool True if the password passes. False otherwise. |
||
| 14 | * @throws PasswordException |
||
| 15 | */ |
||
| 16 | public function validate(string $password): bool; |
||
| 17 | } |
||
| 18 |