@@ -35,44 +35,59 @@ class OptionsMapper {
35
35
"minLength " => [LengthOption::class, "minLength " ],
36
36
"maxLength " => [LengthOption::class, "maxLength " ],
37
37
"length " => [LengthOption::class, "exactLength " ],
38
+
38
39
"minNumbers " => [NumberOption::class, "setMinValue " ],
39
40
"maxNumbers " => [NumberOption::class, "setMaxValue " ],
40
41
"minDigits " => [NumberOption::class, "setMinValue " ],
41
42
"maxDigits " => [NumberOption::class, "setMaxValue " ],
42
43
"numberAmount " => [NumberOption::class, "setExactValue " ],
43
- "allowChars " => [CharacterOption::class, "allow " ],
44
+
45
+ "onlyChars " => [CharacterOption::class, "allow " ],
44
46
"excludeChars " => [CharacterOption::class, "exclude " ],
45
47
"minUppercase " => [CharacterOption::class, "minUppercase " ],
46
48
"minLowercase " => [CharacterOption::class, "minLowercase " ],
47
- " validIPv6 " => [IPv6Option::class, " validIPv6 " ],
49
+
48
50
"minSpecialChars " => [CharOption::class, "minSpecialCharacters " ],
49
51
"maxSpecialChars " => [CharOption::class, "maxSpecialCharacters " ],
50
52
"onlyLowercase " => [CharOption::class, "onlyLowercase " ],
51
53
"onlyUppercase " => [CharOption::class, "onlyUppercase " ],
54
+ "noSpecialChars " => [CharOption::class, "noSpecialCharacters " ],
55
+
56
+ "validIPv6 " => [IPv6Option::class, "validIPv6 " ],
57
+
52
58
"isFile " => [FileOption::class, "isFile " ],
53
59
"isDirectory " => [FileOption::class, "isDirectory " ],
60
+
54
61
"fileExists " => [FileExistsOption::class, "fileExists " ],
62
+
55
63
"specificCurrencies " => [SpecificCurrenciesOption::class, "setSpecificCurrencies " ],
56
64
"onlyUSD " => [SpecificCurrenciesOption::class, "onlyUSD " ],
57
65
"onlyEUR " => [SpecificCurrenciesOption::class, "onlyEUR " ],
58
66
"onlyGBP " => [SpecificCurrenciesOption::class, "onlyGBP " ],
59
67
"onlyGEL " => [SpecificCurrenciesOption::class, "onlyGEL " ],
68
+
60
69
"pathType " => [PathTypeOption::class, "setPathType " ],
70
+
61
71
"countryCode " => [CountryCodeOption::class, "setCountryCode " ],
62
- " noSpecialChars " => [CharOption::class, " noSpecialCharacters " ],
72
+
63
73
"noSpaces " => [ContainSpacesOption::class, "noSpaces " ],
64
74
"noDoubleSpaces " => [ContainSpacesOption::class, "noDoubleSpaces " ],
65
75
"maxSpaces " => [ContainSpacesOption::class, "maxSpaces " ],
76
+
66
77
"onlyDomains " => [DomainSpecificOption::class, "setAllowedDomains " ],
67
78
"onlyExtensions " => [DomainSpecificOption::class, "setAllowedExtensions " ],
79
+
68
80
"onlyProtocol " => [ProtocolOption::class, "onlyProtocol " ],
69
81
"onlyHttp " => [ProtocolOption::class, "onlyHttp " ],
70
82
"onlyHttps " => [ProtocolOption::class, "onlyHttps " ],
83
+
71
84
"onlyVisa " => [CardTypeOption::class, "onlyVisa " ],
72
85
"onlyMasterCard " => [CardTypeOption::class, "onlyMasterCard " ],
73
86
"onlyAmex " => [CardTypeOption::class, "onlyAmex " ],
74
87
"cardTypes " => [CardTypeOption::class, "allowCardTypes " ],
88
+
75
89
"onlyAlphanumeric " => [OnlyAlphanumericOption::class, "onlyAlphanumeric " ],
90
+
76
91
"onlyTags " => [HtmlTagsOption::class, "allowTags " ],
77
92
"restrictTags " => [HtmlTagsOption::class, "restrictTags " ],
78
93
];
0 commit comments