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

 Methods

Receive and process the contents of an annotation

__construct(array $data) 
Inherited

inherited_from \Zend\Form\Annotation\AbstractArrayOrStringAnnotation::__construct()

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() : bool

Returns

bool

 Properties

 

$value

$value : array | string
Inherited

inherited_from \Zend\Form\Annotation\AbstractArrayOrStringAnnotation::$$value