mirror of
https://github.com/Respect/Validation.git
synced 2026-03-16 23:35:45 +01:00
Move namespace "SubdivisionCode" to "Locale"
This commit is contained in:
parent
8a09799e7e
commit
550795c1e2
507 changed files with 506 additions and 508 deletions
|
|
@ -1,38 +0,0 @@
|
|||
<?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.
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Respect\Validation\Exceptions\SubdivisionCode;
|
||||
|
||||
use Respect\Validation\Exceptions\SubdivisionCodeException;
|
||||
|
||||
/**
|
||||
* Exception class for subdivision codes of Bermuda.
|
||||
*
|
||||
* ISO 3166-1 alpha-2: BM
|
||||
*
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
*/
|
||||
final class BmSubdivisionCodeException extends SubdivisionCodeException
|
||||
{
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public static $defaultTemplates = [
|
||||
self::MODE_DEFAULT => [
|
||||
self::STANDARD => '{{name}} must be a subdivision code of Bermuda',
|
||||
],
|
||||
self::MODE_NEGATIVE => [
|
||||
self::STANDARD => '{{name}} must not be a subdivision code of Bermuda',
|
||||
],
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue