Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3declare(strict_types=1);
4
5namespace App\Identity\Application\Service;
6
7/**
8 * Port asserting a plaintext password meets the strength policy. A single rule
9 * set shared by registration and password change; throws WeakPassword on a
10 * violation. Enforcement (length, breached-password check) is infrastructure.
11 */
12interface PasswordPolicy
13{
14    public function assert(string $plainPassword): void;
15}