* SPDX-License-Identifier: MIT */ declare(strict_types=1); namespace Respect\Validation\Exceptions; /** * @author Emmerson Siqueira * @author Henrique Moody * @author Jean Pimentel */ final class MinAgeException extends ValidationException { /** * {@inheritDoc} */ protected $defaultTemplates = [ self::MODE_DEFAULT => [ self::STANDARD => '{{name}} must be {{age}} years or more', ], self::MODE_NEGATIVE => [ self::STANDARD => '{{name}} must not be {{age}} years or more', ], ]; }