Fully Qualified Name: | Zend\Form\Annotation\Attributes |
Extends: | AbstractArrayAnnotation |
Attributes annotation
Expects an array of attributes. The value is used to set any attributes on the related form object (element, fieldset, or form).
Name | Description | Defined By |
---|---|---|
__construct() | Receive and process the contents of an annotation | AbstractArrayAnnotation |
getAttributes() | Retrieve the attributes | Attributes |
Receive and process the contents of an annotation
Parameter Name | Type | Description |
---|---|---|
$data | array |
Returns:
Retrieve the attributes
Returns: null|array