Fully Qualified Name: | Laminas\Form\Annotation\Instance |
Extends: | AbstractStringAnnotation |
Instance (formerly "object") annotation
Use this annotation to specify an object instance to use as the bound object of a form or fieldset
Name | Description | Defined By |
---|---|---|
__construct() | Receive and process the contents of an annotation | AbstractStringAnnotation |
getObject() | Retrieve the object | Instance |
Receive and process the contents of an annotation
Parameter Name | Type | Description |
---|---|---|
$data | array |
Returns:
Retrieve the object
Returns: null|string