Total Complexity | 1 |
Total Lines | 14 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
7 | class RequestValidation |
||
8 | { |
||
9 | /** |
||
10 | * Validate the given request with the given rules. |
||
11 | * |
||
12 | * @param array|callable $rules |
||
13 | * @param array $messages |
||
14 | * @param array $customAttributes |
||
15 | * |
||
16 | * @return \Imanghafoori\HeyMan\Reactions\Validator |
||
17 | */ |
||
18 | 9 | public function yourRequestShouldBeValid($rules, array $messages = [], array $customAttributes = []) |
|
23 |