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

45 lines
1 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 Palau subdivision code.
*
* ISO 3166-1 alpha-2: PW
*
* @link http://www.geonames.org/PW/administrative-division-palau.html
*/
class PwSubdivisionCode extends AbstractSearcher
{
public $haystack = array(
'002', // Aimeliik
'004', // Airai
'010', // Angaur
'050', // Hatohobei
'100', // Kayangel
'150', // Koror
'212', // Melekeok
'214', // Ngaraard
'218', // Ngarchelong
'222', // Ngardmau
'224', // Ngatpang
'226', // Ngchesar
'227', // Ngeremlengui
'228', // Ngiwal
'350', // Peleliu
'370', // Sonsorol
);
public $compareIdentical = true;
}