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