mirror of
https://github.com/Respect/Validation.git
synced 2024-06-01 13:22:24 +02:00
18 lines
610 B
PHP
18 lines
610 B
PHP
<?php
|
|
namespace Respect\Validation\Exceptions;
|
|
|
|
class GraphException extends AlphaException
|
|
{
|
|
public static $defaultTemplates = array(
|
|
self::MODE_DEFAULT => array(
|
|
self::STANDARD => '{{name}} must contain only graphical characters',
|
|
self::EXTRA => '{{name}} must contain only graphical characters and "{{additionalChars}}"'
|
|
),
|
|
self::MODE_NEGATIVE => array(
|
|
self::STANDARD => '{{name}} must not contain graphical characters',
|
|
self::EXTRA => '{{name}} must not contain graphical characters or "{{additionalChars}}"'
|
|
)
|
|
);
|
|
}
|
|
|