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