Свойство | Тип | Описание | |
---|---|---|---|
$patterns | array | Regular expression patterns per country code. |
Метод | Описание | |
---|---|---|
isValidCountryCode ( string $vat ) : boolean | Returns true if value is valid country code, false otherwise. | |
validate ( mixed $vat ) : boolean | validate Checks if $vat is a valid, European Union VAT number. |
public static isValidCountryCode ( string $vat ) : boolean | ||
$vat | string | |
Результат | boolean |
public static array $patterns | ||
Результат | array |