| Fully Qualified Name: | Laminas\Form\Annotation\ComposedObject |
| Extends: | AbstractArrayOrStringAnnotation |
ComposedObject annotation
Use this annotation to specify another object with annotations to parse which you can then add to the form as a fieldset. The value should be a string indicating the fully qualified class name of the composed object to use.
| Name | Description | Defined By |
|---|---|---|
| __construct() | Receive and process the contents of an annotation | AbstractArrayOrStringAnnotation |
| getComposedObject() | Retrieve the composed object classname | ComposedObject |
| getOptions() | Retrieve the options for the composed object | ComposedObject |
| isCollection() | Is this composed object a collection or not | ComposedObject |
Receive and process the contents of an annotation
| Parameter Name | Type | Description |
|---|---|---|
| $data | array |
Returns:
Retrieve the composed object classname
Returns: null|string
Retrieve the options for the composed object
Returns: array
Is this composed object a collection or not
Returns: bool