1 | <?php |
||
11 | class Validator extends \Valitron\Validator |
||
12 | { |
||
13 | /** |
||
14 | * @return bool |
||
15 | * @throws ValidationException |
||
16 | */ |
||
17 | 5 | public function validate(): bool |
|
24 | |||
25 | /** |
||
26 | * @param array $data |
||
27 | * @return static |
||
28 | */ |
||
29 | 4 | public static function create(array $data = []) |
|
33 | |||
34 | /** |
||
35 | * @param array $rules |
||
36 | */ |
||
37 | 6 | public function rules($rules) |
|
57 | } |