mirror of
https://github.com/Respect/Validation.git
synced 2024-06-11 02:02:16 +02:00
16 lines
422 B
PHP
16 lines
422 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}}',
|
|
),
|
|
);
|
|
}
|