Permalink
Browse files

bug #3549 Fixed createPropertyAccessorBuilder usage (antonbabenko)

This PR was submitted for the 2.4 branch but it was merged into the 2.3 branch instead (closes #3549).

Discussion
----------

Fixed createPropertyAccessorBuilder usage

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.3+

Commits
-------

d36cf2c Fixed createPropertyAccessorBuilder usage
  • Loading branch information...
weaverryan committed Feb 16, 2014
2 parents f6dd678 + 934c0bb commit 384538bcb030c4ae6f8df06840ccd725fca28661
Showing with 2 additions and 2 deletions.
  1. +2 −2 components/property_access/introduction.rst
@@ -350,7 +350,7 @@ configured to enable extra features. To do that you could use the
:class:`Symfony\\Component\\PropertyAccess\\PropertyAccessorBuilder`::
// ...
$accessorBuilder = PropertyAccess::getPropertyAccessorBuilder();
$accessorBuilder = PropertyAccess::createPropertyAccessorBuilder();
// Enable magic __call
$accessorBuilder->enableMagicCall();
@@ -365,7 +365,7 @@ configured to enable extra features. To do that you could use the
$accessor = $accessorBuilder->getPropertyAccessor();
// Or all in one
$accessor = PropertyAccess::getPropertyAccessorBuilder()
$accessor = PropertyAccess::createPropertyAccessorBuilder()
->enableMagicCall()
->getPropertyAccessor();

0 comments on commit 384538b

Please sign in to comment.