* * For the full copyright and license information, please view the "LICENSE.md" * file that was distributed with this source code. */ declare(strict_types=1); namespace Respect\Validation\Rules\Locale; use Respect\Validation\Rules\AbstractSearcher; /** * Validates whether an input is subdivision code of Angola or not. * * ISO 3166-1 alpha-2: AO * * @see http://www.geonames.org/AO/administrative-division-angola.html * * @author Henrique Moody */ final class AoSubdivisionCode extends AbstractSearcher { /** * {@inheritdoc} */ protected function getDataSource(): array { return [ 'BGO', // Bengo 'BGU', // Benguela province 'BIE', // Bie 'CAB', // Cabinda 'CCU', // Cuando-Cubango 'CNN', // Cunene 'CNO', // Cuanza Norte 'CUS', // Cuanza Sul 'HUA', // Huambo province 'HUI', // Huila province 'LNO', // Lunda Norte 'LSU', // Lunda Sul 'LUA', // Luanda 'MAL', // Malange 'MOX', // Moxico 'NAM', // Namibe 'UIG', // Uige 'ZAI', // Zaire ]; } }