respect-validation/library/Exceptions/EvenException.php

16 lines
384 B
PHP
Raw Normal View History

2011-09-22 05:49:42 +02:00
<?php
2015-06-08 16:47:14 +02:00
2011-09-22 05:49:42 +02:00
namespace Respect\Validation\Exceptions;
class EvenException extends ValidationException
{
public static $defaultTemplates = array(
self::MODE_DEFAULT => array(
self::STANDARD => '{{name}} must be an even number',
),
self::MODE_NEGATIVE => array(
self::STANDARD => '{{name}} must not be an even number',
),
2011-09-22 05:49:42 +02:00
);
}