respect-validation/library/Exceptions/ExistsException.php

16 lines
364 B
PHP
Raw Normal View History

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