Zend Framework  3.0
Public Member Functions | Protected Attributes | List of all members
AllowEmpty Class Reference

AllowEmpty annotation. More...

Public Member Functions

 __construct (array $data)
 Receive and process the contents of an annotation.
 
 getAllowEmpty ()
 Get value of required flag.
 

Protected Attributes

 $allowEmpty = true
 

Detailed Description

AllowEmpty annotation.

Presence of this annotation is a hint that the associated should enable the allowEmpty flag.

Deprecated:
2.4.8 Use `({"name":"NotEmpty"})` instead.

Constructor & Destructor Documentation

__construct ( array  $data)

Receive and process the contents of an annotation.

Parameters
array$data

Member Function Documentation

getAllowEmpty ( )

Get value of required flag.

Returns
bool

Member Data Documentation

$allowEmpty = true
protected