From c0167daa4a5b6f63e51452d86964f55cfae9410e Mon Sep 17 00:00:00 2001 From: Thierry Geindre Date: Tue, 7 Oct 2014 16:22:43 +0200 Subject: [PATCH] Fix PropertyAccessorBuilder usage --- components/property_access/introduction.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/property_access/introduction.rst b/components/property_access/introduction.rst index a9eb4083fd9..8d6492c8d8e 100644 --- a/components/property_access/introduction.rst +++ b/components/property_access/introduction.rst @@ -209,7 +209,7 @@ enable this feature by using :class:`Symfony\\Component\\PropertyAccess\\Propert $person = new Person(); // Enable magic __call - $accessor = PropertyAccess::getPropertyAccessorBuilder() + $accessor = PropertyAccess::createPropertyAccessorBuilder() ->enableMagicCall() ->getPropertyAccessor(); @@ -305,7 +305,7 @@ see `Enable other Features`_. $person = new Person(); // Enable magic __call - $accessor = PropertyAccess::getPropertyAccessorBuilder() + $accessor = PropertyAccess::createPropertyAccessorBuilder() ->enableMagicCall() ->getPropertyAccessor();