1 | <?php |
||
11 | class NullValidator extends AbstractFormatValidator |
||
12 | { |
||
13 | /** |
||
14 | * Validate that the input is a valid null. |
||
15 | * This actually has to check that the value is an empty string as all inputs are received as strings. |
||
16 | * |
||
17 | * @access protected |
||
18 | * |
||
19 | * @return boolean Whether the input is valid. |
||
20 | */ |
||
21 | 2 | protected function formatDefault() |
|
25 | } |
||
26 |