respect-validation/library/Exceptions/KeyException.php
Henrique Moody da193b75e0 Use PSR-2 standard
Most changes was made by php-cs-fixer.
Also removes unused `RecursiveTreeIterator` class.
2015-01-08 00:44:12 -02:00

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',
),
);
}