From 55cdc6966c45c4077ee8efed8df5c1e0a673281b Mon Sep 17 00:00:00 2001 From: lowtower Date: Mon, 19 Sep 2016 10:23:36 +0200 Subject: [PATCH] Hydrator has been moved to it's own package 'Zend/Hydrator' Hydrator has been moved from 'Zend/Stdlib' to it's own package 'Zend/Hydrator' --- doc/book/quick-start.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/book/quick-start.md b/doc/book/quick-start.md index 5600bcbe..78ec5af4 100644 --- a/doc/book/quick-start.md +++ b/doc/book/quick-start.md @@ -1031,7 +1031,7 @@ use Zend\Form\Annotation; /** * @Annotation\Name("user") - * @Annotation\Hydrator("Zend\Stdlib\Hydrator\ObjectProperty") + * @Annotation\Hydrator("Zend\Hydrator\ObjectProperty") */ class User { @@ -1059,7 +1059,7 @@ class User ``` The above will hint to the annotation builder to create a form with name "user", -which uses the hydrator `Zend\Stdlib\Hydrator\ObjectProperty`. That form will +which uses the hydrator `Zend\Hydrator\ObjectProperty`. That form will have two elements, "username" and "email". The "username" element will have an associated input that has a `StringTrim` filter, and two validators: a `StringLength` validator indicating the username is between 1 and 25 characters,