mirror of
https://github.com/Respect/Validation.git
synced 2024-06-26 17:20:16 +02:00
da193b75e0
Most changes was made by php-cs-fixer. Also removes unused `RecursiveTreeIterator` class.
17 lines
503 B
PHP
17 lines
503 B
PHP
<?php
|
|
namespace Respect\Validation\Exceptions;
|
|
|
|
class KeyException extends AttributeException
|
|
{
|
|
public static $defaultTemplates = array(
|
|
self::MODE_DEFAULT => array(
|
|
self::NOT_PRESENT => 'Key {{name}} must be present',
|
|
self::INVALID => 'Key {{name}} must be valid',
|
|
),
|
|
self::MODE_NEGATIVE => array(
|
|
self::NOT_PRESENT => 'Key {{name}} must not be present',
|
|
self::INVALID => 'Key {{name}} must not be valid',
|
|
),
|
|
);
|
|
}
|