Skip to content

Commit 7a5e2d5

Browse files
committed
Update README.md
1 parent 9250641 commit 7a5e2d5

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,30 @@ if(!$validator->validate()){
133133

134134
Create instance of `Validator`.
135135

136+
##### `addValue(string $name, mixed $value)`
137+
138+
Add value.
139+
140+
##### `addValues(array $values)`
141+
142+
Add multiple values.
143+
144+
##### `values() : array`
145+
146+
Returns an array of values.
147+
148+
##### `addRule(string $name, mixed $rule)`
149+
150+
Add rules.
151+
152+
##### `addRules(array $rules)`
153+
154+
Add multiple rules.
155+
156+
##### `rules() : array`
157+
158+
Returns an array of rules.
159+
136160
##### `validate() : bool`
137161

138162
Validate the data based on the rules.

0 commit comments

Comments
 (0)