Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 934c0bb

Browse filesBrowse files
antonbabenkoweaverryan
authored andcommitted
Fixed createPropertyAccessorBuilder usage
1 parent f6dd678 commit 934c0bb
Copy full SHA for 934c0bb

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎components/property_access/introduction.rst

Copy file name to clipboardExpand all lines: components/property_access/introduction.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ configured to enable extra features. To do that you could use the
350350
:class:`Symfony\\Component\\PropertyAccess\\PropertyAccessorBuilder`::
351351

352352
// ...
353-
$accessorBuilder = PropertyAccess::getPropertyAccessorBuilder();
353+
$accessorBuilder = PropertyAccess::createPropertyAccessorBuilder();
354354

355355
// Enable magic __call
356356
$accessorBuilder->enableMagicCall();
@@ -365,7 +365,7 @@ configured to enable extra features. To do that you could use the
365365
$accessor = $accessorBuilder->getPropertyAccessor();
366366

367367
// Or all in one
368-
$accessor = PropertyAccess::getPropertyAccessorBuilder()
368+
$accessor = PropertyAccess::createPropertyAccessorBuilder()
369369
->enableMagicCall()
370370
->getPropertyAccessor();
371371

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.