respect-validation/library/Exceptions/YesException.php
2015-01-06 20:46:16 -02:00

14 lines
382 B
PHP

<?php
namespace Respect\Validation\Exceptions;
class YesException extends ValidationException
{
public static $defaultTemplates = array(
self::MODE_DEFAULT => array(
self::STANDARD => '{{name}} is not considered as "Yes"',
),
self::MODE_NEGATIVE => array(
self::STANDARD => '{{name}} is considered as "Yes"',
),
);
}