Class AllowEmpty

Summary

Fully Qualified Name: Zend\Form\Annotation\AllowEmpty

Description

AllowEmpty annotation

Presence of this annotation is a hint that the associated \Zend\InputFilter\Input should enable the allowEmpty flag.

Methods

Name Description Defined By
__construct() Receive and process the contents of an annotation AllowEmpty
getAllowEmpty() Get value of required flag AllowEmpty

Method Details

__construct()

Receive and process the contents of an annotation

Parameter Name Type Description
$data array

Returns:

getAllowEmpty()

Get value of required flag

Returns: bool

Top