Fully Qualified Name: | Laminas\Form\Annotation\Name |
Extends: | AbstractStringAnnotation |
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.
Name | Description | Defined By |
---|---|---|
__construct() | Receive and process the contents of an annotation | AbstractStringAnnotation |
getName() | Retrieve the name | Name |
Receive and process the contents of an annotation
Parameter Name | Type | Description |
---|---|---|
$data | array |
Returns:
Retrieve the name
Returns: null|string