Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Bluz
Validator
Rule
CountryCode
PHP Class Bluz\Validator\Rule\CountryCode
See link:
https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
Inheritance:
extends
AbstractRule
Datei anzeigen
Open project: bluzphp/framework
Class Usage Examples
Protected Properties
Property
Type
Description
$countryCodeList
list of valid country codes
$template
error template
Public Methods
Method
Description
validate
(
string
$input
) :
boolean
Check for country code
Method Details
validate()
public
method
Check for country code
public
validate
(
string
$input
) :
boolean
$input
string
return
boolean
Property Details
$countryCodeList
protected_oe property
list of valid country codes
protected
$countryCodeList
$template
protected_oe property
error template
protected
$template