respect-validation/docs/rules
Henrique Moody 7cec227520
Create "Attribute" rule
With this change, any rule can be used as a PHP attribute. I have wanted
to implement this feature for a while, as it allows you to bind the
validation to a specific property and just validate the object
afterwards.
2024-12-13 03:49:29 +01:00
..
AllOf.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Alnum.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Alpha.md Add headings to the templates 2024-12-09 01:34:50 +01:00
AlwaysInvalid.md Add headings to the templates 2024-12-09 01:34:50 +01:00
AlwaysValid.md Add headings to the templates 2024-12-09 01:34:50 +01:00
AnyOf.md Add headings to the templates 2024-12-09 01:34:50 +01:00
ArrayType.md Add headings to the templates 2024-12-09 01:34:50 +01:00
ArrayVal.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Attributes.md Create "Attribute" rule 2024-12-13 03:49:29 +01:00
Base.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Base64.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Between.md Add headings to the templates 2024-12-09 01:34:50 +01:00
BetweenExclusive.md Add headings to the templates 2024-12-09 01:34:50 +01:00
BoolType.md Add headings to the templates 2024-12-09 01:34:50 +01:00
BoolVal.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Bsn.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Call.md Add headings to the templates 2024-12-09 01:34:50 +01:00
CallableType.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Callback.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Charset.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Cnh.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Cnpj.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Consecutive.md Add templates to each rule documentation 2024-12-06 00:21:47 +01:00
Consonant.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Contains.md Add headings to the templates 2024-12-09 01:34:50 +01:00
ContainsAny.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Control.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Countable.md Add headings to the templates 2024-12-09 01:34:50 +01:00
CountryCode.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Cpf.md Add headings to the templates 2024-12-09 01:34:50 +01:00
CreditCard.md Add headings to the templates 2024-12-09 01:34:50 +01:00
CurrencyCode.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Date.md Create "Attribute" rule 2024-12-13 03:49:29 +01:00
DateTime.md Add headings to the templates 2024-12-09 01:34:50 +01:00
DateTimeDiff.md Update DateTimeDiff to generate results with siblings 2024-12-09 01:31:26 +01:00
Decimal.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Digit.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Directory.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Domain.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Each.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Email.md Add headings to the templates 2024-12-09 01:34:50 +01:00
EndsWith.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Equals.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Equivalent.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Even.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Executable.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Exists.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Extension.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Factor.md Add headings to the templates 2024-12-09 01:34:50 +01:00
FalseVal.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Fibonacci.md Add headings to the templates 2024-12-09 01:34:50 +01:00
File.md Add headings to the templates 2024-12-09 01:34:50 +01:00
FilterVar.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Finite.md Add headings to the templates 2024-12-09 01:34:50 +01:00
FloatType.md Add headings to the templates 2024-12-09 01:34:50 +01:00
FloatVal.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Graph.md Add headings to the templates 2024-12-09 01:34:50 +01:00
GreaterThan.md Add headings to the templates 2024-12-09 01:34:50 +01:00
GreaterThanOrEqual.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Hetu.md Add headings to the templates 2024-12-09 01:34:50 +01:00
HexRgbColor.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Iban.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Identical.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Image.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Imei.md Add headings to the templates 2024-12-09 01:34:50 +01:00
In.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Infinite.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Instance.md Add headings to the templates 2024-12-09 01:34:50 +01:00
IntType.md Add headings to the templates 2024-12-09 01:34:50 +01:00
IntVal.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Ip.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Isbn.md Add headings to the templates 2024-12-09 01:34:50 +01:00
IterableType.md Add headings to the templates 2024-12-09 01:34:50 +01:00
IterableVal.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Json.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Key.md Add templates to each rule documentation 2024-12-06 00:21:47 +01:00
KeyExists.md Add headings to the templates 2024-12-09 01:34:50 +01:00
KeyOptional.md Add templates to each rule documentation 2024-12-06 00:21:47 +01:00
KeySet.md Add headings to the templates 2024-12-09 01:34:50 +01:00
LanguageCode.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Lazy.md Add templates to each rule documentation 2024-12-06 00:21:47 +01:00
LeapDate.md Add headings to the templates 2024-12-09 01:34:50 +01:00
LeapYear.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Length.md Add headings to the templates 2024-12-09 01:34:50 +01:00
LessThan.md Add headings to the templates 2024-12-09 01:34:50 +01:00
LessThanOrEqual.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Lowercase.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Luhn.md Add headings to the templates 2024-12-09 01:34:50 +01:00
MacAddress.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Max.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Mimetype.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Min.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Multiple.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Negative.md Add headings to the templates 2024-12-09 01:34:50 +01:00
NfeAccessKey.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Nif.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Nip.md Add headings to the templates 2024-12-09 01:34:50 +01:00
No.md Add headings to the templates 2024-12-09 01:34:50 +01:00
NoneOf.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Not.md Add templates to each rule documentation 2024-12-06 00:21:47 +01:00
NotBlank.md Add headings to the templates 2024-12-09 01:34:50 +01:00
NotEmoji.md Add headings to the templates 2024-12-09 01:34:50 +01:00
NotEmpty.md Add headings to the templates 2024-12-09 01:34:50 +01:00
NotUndef.md Add headings to the templates 2024-12-09 01:34:50 +01:00
NoWhitespace.md Add headings to the templates 2024-12-09 01:34:50 +01:00
NullOr.md Create "Attribute" rule 2024-12-13 03:49:29 +01:00
NullType.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Number.md Add headings to the templates 2024-12-09 01:34:50 +01:00
NumericVal.md Add headings to the templates 2024-12-09 01:34:50 +01:00
ObjectType.md Create "Attribute" rule 2024-12-13 03:49:29 +01:00
Odd.md Add headings to the templates 2024-12-09 01:34:50 +01:00
OneOf.md Add headings to the templates 2024-12-09 01:34:50 +01:00
PerfectSquare.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Pesel.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Phone.md Add headings to the templates 2024-12-09 01:34:50 +01:00
PhpLabel.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Pis.md Add headings to the templates 2024-12-09 01:34:50 +01:00
PolishIdCard.md Add headings to the templates 2024-12-09 01:34:50 +01:00
PortugueseNif.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Positive.md Add headings to the templates 2024-12-09 01:34:50 +01:00
PostalCode.md Add headings to the templates 2024-12-09 01:34:50 +01:00
PrimeNumber.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Printable.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Property.md Create "Attribute" rule 2024-12-13 03:49:29 +01:00
PropertyExists.md Create "Attribute" rule 2024-12-13 03:49:29 +01:00
PropertyOptional.md Create "Attribute" rule 2024-12-13 03:49:29 +01:00
PublicDomainSuffix.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Punct.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Readable.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Regex.md Add headings to the templates 2024-12-09 01:34:50 +01:00
ResourceType.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Roman.md Add headings to the templates 2024-12-09 01:34:50 +01:00
ScalarVal.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Size.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Slug.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Sorted.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Space.md Add headings to the templates 2024-12-09 01:34:50 +01:00
StartsWith.md Add headings to the templates 2024-12-09 01:34:50 +01:00
StringType.md Add headings to the templates 2024-12-09 01:34:50 +01:00
StringVal.md Add headings to the templates 2024-12-09 01:34:50 +01:00
SubdivisionCode.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Subset.md Add headings to the templates 2024-12-09 01:34:50 +01:00
SymbolicLink.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Time.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Tld.md Add headings to the templates 2024-12-09 01:34:50 +01:00
TrueVal.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Type.md Rename method "validate()" to "isValid()" 2024-12-02 22:11:57 +01:00
UndefOr.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Unique.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Uploaded.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Uppercase.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Url.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Uuid.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Version.md Add headings to the templates 2024-12-09 01:34:50 +01:00
VideoUrl.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Vowel.md Add headings to the templates 2024-12-09 01:34:50 +01:00
When.md Add templates to each rule documentation 2024-12-06 00:21:47 +01:00
Writable.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Xdigit.md Add headings to the templates 2024-12-09 01:34:50 +01:00
Yes.md Add headings to the templates 2024-12-09 01:34:50 +01:00