Fully Qualified Name: | Zend\Form\Annotation\AllowEmpty |
AllowEmpty annotation
Presence of this annotation is a hint that the associated \Zend\InputFilter\Input should enable the allowEmpty flag.
Name | Description | Defined By |
---|---|---|
__construct() | Receive and process the contents of an annotation | AllowEmpty |
getAllowEmpty() | Get value of required flag | AllowEmpty |
Receive and process the contents of an annotation
Parameter Name | Type | Description |
---|---|---|
$data | array |
Returns:
Get value of required flag
Returns: bool