respect-validation/library/Rules/SubdivisionCode/LiSubdivisionCode.php
2015-09-21 13:27:15 -03:00

40 lines
930 B
PHP

<?php
/*
* This file is part of Respect/Validation.
*
* (c) Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
*
* For the full copyright and license information, please view the "LICENSE.md"
* file that was distributed with this source code.
*/
namespace Respect\Validation\Rules\SubdivisionCode;
use Respect\Validation\Rules\AbstractSearcher;
/**
* Validator for Liechtenstein subdivision code.
*
* ISO 3166-1 alpha-2: LI
*
* @link http://www.geonames.org/LI/administrative-division-liechtenstein.html
*/
class LiSubdivisionCode extends AbstractSearcher
{
public $haystack = array(
'01', // Balzers
'02', // Eschen
'03', // Gamprin
'04', // Mauren
'05', // Planken
'06', // Ruggell
'07', // Schaan
'08', // Schellenberg
'09', // Triesen
'10', // Triesenberg
'11', // Vaduz
);
public $compareIdentical = true;
}