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

70 lines
1.6 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 Guinea subdivision code.
*
* ISO 3166-1 alpha-2: GN
*
* @link http://www.geonames.org/GN/administrative-division-guinea.html
*/
class GnSubdivisionCode extends AbstractSearcher
{
public $haystack = array(
'B', // Boké
'C', // Conakry
'D', // Kindia
'F', // Faranah
'K', // Kankan
'L', // Labé
'M', // Mamou
'N', // Nzérékoré
'BE', // Beyla
'BF', // Boffa
'BK', // Boke
'CO', // Coyah
'DB', // Dabola
'DI', // Dinguiraye
'DL', // Dalaba
'DU', // Dubreka
'FA', // Faranah
'FO', // Forecariah
'FR', // Fria
'GA', // Gaoual
'GU', // Gueckedou
'KA', // Kankan
'KB', // Koubia
'KD', // Kindia
'KE', // Kerouane
'KN', // Koundara
'KO', // Kouroussa
'KS', // Kissidougou
'LA', // Labe
'LE', // Lelouma
'LO', // Lola
'MC', // Macenta
'MD', // Mandiana
'ML', // Mali
'MM', // Mamou
'NZ', // Nzerekore
'PI', // Pita
'SI', // Siguiri
'TE', // Telimele
'TO', // Tougue
'YO', // Yomou
);
public $compareIdentical = true;
}