Class ComposedObject

Summary

Fully Qualified Name: Zend\Form\Annotation\ComposedObject
Extends: AbstractArrayOrStringAnnotation

Description

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.

Methods

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

Method Details

__construct()

Receive and process the contents of an annotation

Parameter Name Type Description
$data array

Returns:

getComposedObject()

Retrieve the composed object classname

Returns: null|string

getOptions()

Retrieve the options for the composed object

Returns: array

isCollection()

Is this composed object a collection or not

Returns: bool

Top