Total Complexity | 4 |
Total Lines | 43 |
Duplicated Lines | 0 % |
Coverage | 60% |
Changes | 0 |
1 | <?php |
||
20 | class Form extends AbstractElement |
||
21 | { |
||
22 | /** |
||
23 | * The node name of the element |
||
24 | * |
||
25 | * @var string |
||
26 | */ |
||
27 | const NODE_NAME = 'FORM'; |
||
28 | |||
29 | /** |
||
30 | * Tells if the element has a end tag |
||
31 | * |
||
32 | * @var boolean |
||
33 | */ |
||
34 | const HAS_END_TAG = true; |
||
35 | |||
36 | /** |
||
37 | * Fills the form with all passed values |
||
38 | * |
||
39 | * @param array $values |
||
40 | * |
||
41 | * @throws Exception\ChildNotFoundException |
||
42 | * |
||
43 | * @return null |
||
44 | */ |
||
45 | 5 | public function fill(Array $values) |
|
66 |