Zend\Form\Annotation\AllowEmpty
AllowEmpty annotation
Presence of this annotation is a hint that the associated
\Zend\InputFilter\Input should enable the allowEmpty flag.
Synopsis
class AllowEmpty
{
- // members
- protected bool $allowEmpty;
- // methods
- public void __construct()
- public bool getAllowEmpty()
Members
protected
- $allowEmpty — Zend\Form\Annotation\bool
Methods
public
- __construct() — Receive and process the contents of an annotation
- getAllowEmpty() — Get value of required flag