Flags annotation

Allows passing flags to the form factory. These flags are used to indicate metadata, and typically the priority (order) in which an element will be included.

The value should be an associative array.

Annotation

 Methods

Receive and process the contents of an annotation

__construct(array $data) 
Inherited

inherited_from \Zend\Form\Annotation\AbstractArrayAnnotation::__construct()

Parameters

$data

array

Exceptions

\Zend\Form\Exception\DomainException if a 'value' key is missing, or its value is not an array

Retrieve the flags

getFlags() : null | array

Returns

nullarray

 Properties

 

$value

$value : array
Inherited

inherited_from \Zend\Form\Annotation\AbstractArrayAnnotation::$$value