Attributes annotation

Expects an array of attributes. The value is used to set any attributes on the related form object (element, fieldset, or form).

Annotation

 Methods

Receive and process the contents of an annotation

__construct(array $data) 
Inherited

inherited_from \Zend\Form\Annotation\AbstractArrayAnnotation::__construct()

Parameters

$data

array

Exceptions

\Zend\Form\Exception\DomainException if a 'value' key is missing, or its value is not an array

Retrieve the attributes

getAttributes() : null | array

Returns

nullarray

 Properties

 

$value

$value : array
Inherited

inherited_from \Zend\Form\Annotation\AbstractArrayAnnotation::$$value