| 1 | <?php |
||
| 14 | class PersonalIdValidator implements Validator |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * Validate that number is a swedish personal id |
||
| 18 | * |
||
| 19 | * @param AccountNumber $number |
||
| 20 | * @return null |
||
| 21 | * @throws InvalidCheckDigitException If checkdigit is not valid |
||
| 22 | * @throws InvalidAccountNumberException If number is not a valid personal id |
||
| 23 | */ |
||
| 24 | public function validate(AccountNumber $number) |
||
| 34 | } |
||
| 35 |