Total Complexity | 3 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | final class ResidentKeyRequirement |
||
6 | { |
||
7 | public const DISCOURAGED = 'discouraged'; |
||
8 | |||
9 | // Not in us yet until level 2 spec |
||
10 | // public const PREFERRED = 'preferred'; |
||
11 | |||
12 | public const REQUIRED = 'required'; |
||
13 | |||
14 | public const DEFAULT = self::DISCOURAGED; |
||
15 | |||
16 | /** |
||
17 | * @codeCoverageIgnore |
||
18 | */ |
||
19 | private function __construct() |
||
21 | } |
||
22 | |||
23 | public static function isValidValue(string $value): bool |
||
28 |