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.

Annotation
package Default
inherited_from \Zend\Form\Annotation\AbstractArrayOrStringAnnotation

 Methods

Receive and process the contents of an annotation

__construct(array $data) 
Inherited

Parameters

$data

array

Exceptions

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

Retrieve the composed object classname

getComposedObject() : null | string

Returns

nullstring

Retrieve the options for the composed object

getOptions() : array

Returns

array

Is this composed object a collection or not

isCollection() : boolean

Returns

boolean

 Properties

 

$value

$value : array | string

Default