respect-validation/library/Respect/Validation/Exceptions/MinimumAgeException.php
2012-03-22 23:53:06 -03:00

17 lines
409 B
PHP

<?php
namespace Respect\Validation\Exceptions;
class MinimumAgeException extends ValidationException
{
public static $defaultTemplates = array(
self::MODE_DEFAULT => array(
self::STANDARD => 'The age must be {{age}} years or more.',
),
self::MODE_NEGATIVE => array(
self::STANDARD => 'The age must not be {{age}} years or more.',
)
);
}