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

55 lines
1.3 KiB
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 Marshall Islands subdivision code.
*
* ISO 3166-1 alpha-2: MH
*
* @link http://www.geonames.org/MH/administrative-division-marshall-islands.html
*/
class MhSubdivisionCode extends AbstractSearcher
{
public $haystack = array(
'L', // Ralik chain
'T', // Ratak chain
'ALK', // Ailuk
'ALL', // Ailinglaplap
'ARN', // Arno
'AUR', // Aur
'EBO', // Ebon
'ENI', // Enewetak
'JAB', // Jabat
'JAL', // Jaluit
'KIL', // Kili
'KWA', // Kwajalein
'LAE', // Lae
'LIB', // Lib
'LIK', // Likiep
'MAJ', // Majuro
'MAL', // Maloelap
'MEJ', // Mejit
'MIL', // Mili
'NMK', // Namorik
'NMU', // Namu
'RON', // Rongelap
'UJA', // Ujae
'UTI', // Utirik
'WTH', // Wotho
'WTJ', // Wotje
);
public $compareIdentical = true;
}