mirror of
https://github.com/Respect/Validation.git
synced 2024-05-29 03:42:25 +02:00
18 lines
577 B
PHP
18 lines
577 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}}"',
|
|
),
|
|
);
|
|
}
|