Options annotation

Allows passing element, fieldset, or form options to the form factory. Options are used to alter the behavior of the object they address.

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 options

getOptions() : null | array

Returns

nullarray

 Properties

 

$value

$value : array
Inherited

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