Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Respect
Validation
Rules
Nif
PHP Class Respect\Validation\Rules\Nif
See also:
https://es.wikipedia.org/wiki/N%C3%BAmero_de_identificaci%C3%B3n_fiscal
Author:
Julián Gutiérrez (
[email protected]
)
Inheritance:
extends
Respect\Validation\Rules\AbstractRule
Show file
Open project: respect/validation
Public Methods
Method
Description
validate
(
$input
)
Private Methods
Method
Description
validateCif
(
integer
$number
,
string
$control
)
validateDni
(
integer
$number
,
integer
$control
)
validateNie
(
string
$prefix
,
integer
$number
,
integer
$control
)
Method Details
validate()
public
method
public
validate
(
$input
)