Zend\Form\Annotation\Hydrator
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.
Synopsis
class Hydrator
extends AbstractArrayOrStringAnnotation
{
- // Inherited members from AbstractArrayOrStringAnnotation
- protected array|string $value;
- // methods
- public null|string|array getHydrator()
- // Inherited methods from AbstractArrayOrStringAnnotation
- public void __construct()
Hierarchy
Members
protected
- $value — Zend\Form\Annotation\array|string
Methods
public
- getHydrator() — Retrieve the hydrator class