Fully Qualified Name: | Zend\Form\Annotation\Options |
Extends: | AbstractArrayAnnotation |
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.
Name | Description | Defined By |
---|---|---|
__construct() | Receive and process the contents of an annotation | AbstractArrayAnnotation |
getOptions() | Retrieve the options | Options |
Receive and process the contents of an annotation
Parameter Name | Type | Description |
---|---|---|
$data | array |
Returns:
Retrieve the options
Returns: null|array