-
Notifications
You must be signed in to change notification settings - Fork 2
NationalId
Pieter Hordijk edited this page Dec 31, 2018
·
1 revision
Validates the input (string) to be a valid Dutch national ID (BSN or Burger Service Nummer int or a string containing only digits).
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\NationalId\Bsn;
(new Bsn())->validate(393610603);-
NationalId.Bsnwhen the validated value is not anintor astringonly containing digits -
NationalId.Bsnwhen the validated value is not a valid BSN