respect-validation/library/Respect/Validation/Exceptions/VowelsException.php
Alexandre Gomes Gaigalas 9a1fe0d58a Merge pull request #68 from kleberhs007/vowel_validation
Correct negative message for exception VowelsException.php
2012-03-28 09:37:43 -07:00

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}}"'
)
);
}