mirror of
https://github.com/Respect/Validation.git
synced 2026-03-16 07:15:45 +01:00
15 lines
388 B
PHP
15 lines
388 B
PHP
<?php
|
|
namespace Respect\Validation\Exceptions;
|
|
|
|
class IntException extends ValidationException
|
|
{
|
|
public static $defaultTemplates = array(
|
|
self::MODE_DEFAULT => array(
|
|
self::STANDARD => '{{name}} must be an integer number',
|
|
),
|
|
self::MODE_NEGATIVE => array(
|
|
self::STANDARD => '{{name}} must not be an integer number',
|
|
)
|
|
);
|
|
}
|
|
|