|
| validate (string $attribute, mixed $value, Closure $fail) |
|
◆ validate()
App\Rules\validCifNieDni::validate |
( |
string | $attribute, |
|
|
mixed | $value, |
|
|
Closure | $fail ) |
Run the validation rule.
- Parameters
-
string | $attribute | |
mixed | $value | |
\Closure | $fail | |
- Returns
- void
◆ validDniCifNie()
App\Rules\validCifNieDni::validDniCifNie |
( |
| $dni | ) |
|
|
private |
Valida un DNI (NIF), CIF o NIE.
- Parameters
-
string | $dni | Número de identificación. |
- Returns
- bool True si es válido, false en caso contrario.
The documentation for this class was generated from the following file: