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
package Default
inherited_from \Zend\Form\Annotation\AbstractArrayAnnotation

 Methods

Receive and process the contents of an annotation

__construct(array $data) 
Inherited

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

Default