1 | <?php |
||
9 | class ImprovedInputFilter extends InputFilter |
||
10 | { |
||
11 | /** |
||
12 | * Add null values for all the inputs that were not passed. |
||
13 | * This is needed to make optional fields still validated even when the value is not directly provided in the request. |
||
14 | * |
||
15 | * {@inheritdoc} |
||
16 | */ |
||
17 | 15 | public function setData($data) |
|
32 | } |
||
33 |