respect-validation/library/Exceptions/ArrayTypeException.php

27 lines
653 B
PHP
Raw Normal View History

2015-10-17 22:51:42 +02:00
<?php
/*
* This file is part of Respect/Validation.
*
* (c) Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
*
* For the full copyright and license information, please view the "LICENSE.md"
* file that was distributed with this source code.
*/
declare(strict_types=1);
2015-10-17 22:51:42 +02:00
namespace Respect\Validation\Exceptions;
class ArrayTypeException extends ValidationException
{
public static $defaultTemplates = [
self::MODE_DEFAULT => [
self::STANDARD => '{{name}} must be of the type array',
],
self::MODE_NEGATIVE => [
self::STANDARD => '{{name}} must not be of the type array',
],
];
}