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
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 hydrator class

getHydrator() : null | string | array

Returns

nullstringarray

 Properties

 

$value

$value : array | string

Default