From 56cd551c67be461433e77119925d1cc23abc739d Mon Sep 17 00:00:00 2001 From: Sam Van der Borght Date: Wed, 26 Jun 2013 15:45:14 +0200 Subject: [PATCH] Renamed getPropertyAccessor to createPropertyAccessor --- cookbook/form/create_form_type_extension.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbook/form/create_form_type_extension.rst b/cookbook/form/create_form_type_extension.rst index a75eaefc7ca..ab0d1c42502 100644 --- a/cookbook/form/create_form_type_extension.rst +++ b/cookbook/form/create_form_type_extension.rst @@ -232,7 +232,7 @@ it in the view:: $parentData = $form->getParent()->getData(); if (null !== $parentData) { - $accessor = PropertyAccess::getPropertyAccessor(); + $accessor = PropertyAccess::createPropertyAccessor(); $imageUrl = $accessor->getValue($parentData, $options['image_path']); } else { $imageUrl = null;