Class Options

Summary

Fully Qualified Name: Zend\Form\Annotation\Options
Extends: AbstractArrayAnnotation

Description

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.

Methods

Name Description Defined By
__construct() Receive and process the contents of an annotation AbstractArrayAnnotation
getOptions() Retrieve the options Options

Method Details

__construct()

Receive and process the contents of an annotation

Parameter Name Type Description
$data array

Returns:

getOptions()

Retrieve the options

Returns: null|array

Top