respect-validation/library/Rules/SubdivisionCode/BeSubdivisionCode.php
2015-09-21 13:26:38 -03:00

43 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 Belgium subdivision code.
*
* ISO 3166-1 alpha-2: BE
*
* @link http://www.geonames.org/BE/administrative-division-belgium.html
*/
class BeSubdivisionCode extends AbstractSearcher
{
public $haystack = array(
'BRU', // Brussels
'VLG', // Flanders
'WAL', // Wallonia
'BRU', // Brussels
'VAN', // Antwerpen
'VBR', // Vlaams Brabant
'VLI', // Limburg
'VOV', // Oost-Vlaanderen
'VWV', // West-Vlaanderen
'WBR', // Brabant Wallon
'WHT', // Hainaut
'WLG', // Liege
'WLX', // Luxembourg
'WNA', // Namur
);
public $compareIdentical = true;
}