mirror of
https://github.com/Respect/Validation.git
synced 2026-03-15 06:45:44 +01:00
Most changes was made by php-cs-fixer. Also removes unused `RecursiveTreeIterator` class.
16 lines
503 B
PHP
16 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',
|
|
),
|
|
);
|
|
}
|