Hydrator annotation

Use this annotation to specify a specific hydrator class to use with the form. The value should be a string indicating the fully qualified class name of the hydrator 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 hydrator class

getHydrator() : null | string | array

Returns

nullstringarray

 Properties

 

$value

$value : array | string
Inherited

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