2013-01-20 20:27:27 +01:00
|
|
|
<?php
|
2015-06-08 16:47:14 +02:00
|
|
|
|
2013-01-20 20:27:27 +01:00
|
|
|
namespace Respect\Validation\Exceptions;
|
|
|
|
|
2013-01-22 22:44:46 +01:00
|
|
|
class GraphException extends AlphaException
|
2013-01-20 20:27:27 +01:00
|
|
|
{
|
|
|
|
public static $defaultTemplates = array(
|
|
|
|
self::MODE_DEFAULT => array(
|
|
|
|
self::STANDARD => '{{name}} must contain only graphical characters',
|
2015-01-08 03:15:35 +01:00
|
|
|
self::EXTRA => '{{name}} must contain only graphical characters and "{{additionalChars}}"',
|
2013-01-20 20:27:27 +01:00
|
|
|
),
|
|
|
|
self::MODE_NEGATIVE => array(
|
|
|
|
self::STANDARD => '{{name}} must not contain graphical characters',
|
2015-01-08 03:15:35 +01:00
|
|
|
self::EXTRA => '{{name}} must not contain graphical characters or "{{additionalChars}}"',
|
|
|
|
),
|
2013-01-20 20:27:27 +01:00
|
|
|
);
|
|
|
|
}
|