Name annotation

Use this annotation to specify a name other than the property or class name when building the form, element, or input. The value should be a string.

Annotation

 Methods

Receive and process the contents of an annotation

__construct(array $data) 
Inherited

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

Parameters

$data

array

Exceptions

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

Retrieve the name

getName() : null | string

Returns

nullstring

 Properties

 

$value

$value : string
Inherited

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