Class Hydrator

Summary

Fully Qualified Name: Laminas\Form\Annotation\Hydrator
Extends: AbstractArrayOrStringAnnotation

Description

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.

Methods

Name Description Defined By
__construct() Receive and process the contents of an annotation AbstractArrayOrStringAnnotation
getHydrator() Retrieve the hydrator class Hydrator

Method Details

__construct()

Receive and process the contents of an annotation

Parameter Name Type Description
$data array

Returns:

getHydrator()

Retrieve the hydrator class

Returns: null|string|array

Top