mirror of
https://github.com/Respect/Validation.git
synced 2024-06-08 08:42:15 +02:00
18 lines
365 B
PHP
18 lines
365 B
PHP
<?php
|
|
|
|
namespace Respect\Validation\Exceptions;
|
|
|
|
class ExistsException extends ValidationException
|
|
{
|
|
|
|
public static $defaultTemplates = array(
|
|
self::MODE_DEFAULT => array(
|
|
self::STANDARD => '{{name}} must exists',
|
|
),
|
|
self::MODE_NEGATIVE => array(
|
|
self::STANDARD => '{{name}} must not exists',
|
|
)
|
|
);
|
|
|
|
}
|