spqr/vendor/workerman/validation/library/Exceptions/PortugueseNifException.php
2024-11-05 12:10:06 +08:00

29 lines
615 B
PHP

<?php
/*
* Copyright (c) Alexandre Gomes Gaigalas <alganet@gmail.com>
* SPDX-License-Identifier: MIT
*/
declare(strict_types=1);
namespace Respect\Validation\Exceptions;
/**
* @author Gonçalo Andrade <goncalo.andrade95@gmail.com>
*/
final class PortugueseNifException extends ValidationException
{
/**
* {@inheritDoc}
*/
protected $defaultTemplates = [
self::MODE_DEFAULT => [
self::STANDARD => '{{name}} must be a Portuguese NIF',
],
self::MODE_NEGATIVE => [
self::STANDARD => '{{name}} must not be a Portuguese NIF',
],
];
}