mirror of
https://github.com/Respect/Validation.git
synced 2024-06-13 11:12:18 +02:00
With this and the Lazy rule, the LazyConsecutive lost its purpose. While working on it, I did refactor the Domain rule a bit, but mainly to check how this rule could behave. Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
518 B
518 B
Equals
Equals(mixed $compareTo)
Validates if the input is equal to some value.
v::equals('alganet')->validate('alganet'); // true
Message template for this validator includes {{compareTo}}
.
Categorization
- Comparisons
Changelog
Version | Description |
---|---|
1.0.0 | Removed identical checking (see Identical) |
0.3.9 | Created |
See also: