| 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 | * @return boolean Whether the input is valid. |
||
| 18 | */ |
||
| 19 | 2 | protected function formatDefault() |
|
| 23 | } |
||
| 24 |