mirror of
https://github.com/Respect/Validation.git
synced 2026-03-16 07:15:45 +01:00
Most changes was made by php-cs-fixer. Also removes unused `RecursiveTreeIterator` class.
16 lines
576 B
PHP
16 lines
576 B
PHP
<?php
|
|
namespace Respect\Validation\Exceptions;
|
|
|
|
class ConsonantException extends AlphaException
|
|
{
|
|
public static $defaultTemplates = array(
|
|
self::MODE_DEFAULT => array(
|
|
self::STANDARD => '{{name}} must contain only consonants',
|
|
self::EXTRA => '{{name}} must contain only consonants and "{{additionalChars}}"',
|
|
),
|
|
self::MODE_NEGATIVE => array(
|
|
self::STANDARD => '{{name}} must not contain consonants',
|
|
self::EXTRA => '{{name}} must not contain consonants or "{{additionalChars}}"',
|
|
),
|
|
);
|
|
}
|