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.
15 lines
421 B
PHP
15 lines
421 B
PHP
<?php
|
|
namespace Respect\Validation\Exceptions;
|
|
|
|
class InstanceException extends ValidationException
|
|
{
|
|
public static $defaultTemplates = array(
|
|
self::MODE_DEFAULT => array(
|
|
self::STANDARD => '{{name}} must be an instance of {{instanceName}}',
|
|
),
|
|
self::MODE_NEGATIVE => array(
|
|
self::STANDARD => '{{name}} must not be an instance of {{instanceName}}',
|
|
),
|
|
);
|
|
}
|