mirror of
https://github.com/Respect/Validation.git
synced 2026-03-17 15:50:03 +01:00
19 lines
557 B
PHP
19 lines
557 B
PHP
<?php
|
|
|
|
namespace Respect\Validation\Exceptions;
|
|
|
|
class VowelsException extends AlphaException
|
|
{
|
|
|
|
public static $defaultTemplates = array(
|
|
self::MODE_DEFAULT => array(
|
|
self::STANDARD => '{{name}} must contain only vowels',
|
|
self::EXTRA => '{{name}} must contain only vowels and "{{additionalChars}}"'
|
|
),
|
|
self::MODE_NEGATIVE => array(
|
|
self::STANDARD => '{{name}} must not contain vowels',
|
|
self::EXTRA => '{{name}} must not contain vowels or "{{additionalChars}}"'
|
|
)
|
|
);
|
|
|
|
}
|