From 31041de23a7710b0b288dfff3f176f5c8b1aa37b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Kurzyd=C5=82owski?= Date: Fri, 15 Jan 2021 17:45:24 +0100 Subject: [PATCH] Fix property visibility in ObjectPropertyHydrator example MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ObjectPropertyHydrator example should probably consist of publicly accessible properties, as opposed to ReflectionHydrator. Signed-off-by: Michał Kurzydłowski --- docs/book/v4/quick-start.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/book/v4/quick-start.md b/docs/book/v4/quick-start.md index 378cba51..3484a151 100644 --- a/docs/book/v4/quick-start.md +++ b/docs/book/v4/quick-start.md @@ -97,10 +97,10 @@ The ObjectPropertyHydrator hydrates objects and extracts data using publicly acc ```php class User { - private $firstName; - private $lastName; - private $emailAddress; - private $phoneNumber; + public $firstName; + public $lastName; + public $emailAddress; + public $phoneNumber; } $data = [