1 | <?php |
||
9 | abstract class Field |
||
10 | { |
||
11 | protected $data = []; |
||
12 | |||
13 | public function __construct($name, $label = null) |
||
17 | |||
18 | public function name($value = null) |
||
23 | |||
24 | public function value($value = null) |
||
29 | |||
30 | public function errors($value = null) |
||
35 | |||
36 | public function rules($value = null) |
||
41 | |||
42 | abstract public function cast(); |
||
43 | } |
||
44 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.