mirror of
https://github.com/Respect/Validation.git
synced 2026-03-17 15:50:03 +01:00
The original name was heavily influenced by the fact that we get those messages when using the "Not" rule; however, that rule inverts the validation despite the current validation mode. It can be confusing at times with certain rules, so naming it as "inverted" makes more sense than "negative".
16 lines
217 B
PHP
16 lines
217 B
PHP
<?php
|
|
|
|
/*
|
|
* Copyright (c) Alexandre Gomes Gaigalas <alganet@gmail.com>
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Respect\Validation;
|
|
|
|
enum Mode
|
|
{
|
|
case DEFAULT;
|
|
case INVERTED;
|
|
}
|