1 | <?php |
||
8 | abstract class FormField extends FormElement |
||
9 | { |
||
10 | /** |
||
11 | * |
||
12 | * @var boolean |
||
13 | */ |
||
14 | protected $required = false; |
||
15 | |||
16 | /** |
||
17 | * |
||
18 | * @var array[string] |
||
19 | */ |
||
20 | protected $errors = []; |
||
21 | |||
22 | /** |
||
23 | * |
||
24 | * @return array[string] |
||
|
|||
25 | */ |
||
26 | public function getErrors() |
||
30 | |||
31 | /** |
||
32 | * |
||
33 | */ |
||
34 | public function dataValid() |
||
55 | /** |
||
56 | * |
||
57 | * @var array[Check] |
||
58 | */ |
||
59 | public $checks = []; |
||
60 | |||
61 | /** |
||
62 | * |
||
63 | * @param Check $check |
||
64 | */ |
||
65 | public function addValidityCheck(\hemio\form\Check $check) |
||
69 | } |
||
70 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.