Zend\Form\Annotation\Options
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.
Synopsis
class Options
extends AbstractArrayAnnotation
{
- // Inherited members from AbstractArrayAnnotation
- protected array $value;
- // methods
- public null|array getOptions()
- // Inherited methods from AbstractArrayAnnotation
- public void __construct()
Hierarchy
Members
protected
- $value — array
Methods
public
- getOptions() — Retrieve the options