Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit2fe611b

Browse files
committed
Merge pull request#2558 from bschussek/issue7854
[WCM] Renamed PropertyAccess::getPropertyAccessor to createPropertyAccessor
2 parents0f745f4 +0c53c5e commit2fe611b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

‎components/property_access/introduction.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,18 @@ Usage
2424
-----
2525

2626
The entry point of this component is the
27-
:method:`PropertyAccess::getPropertyAccessor<Symfony\\Component\\PropertyAccess\\PropertyAccess::getPropertyAccessor>`
27+
:method:`PropertyAccess::createPropertyAccessor<Symfony\\Component\\PropertyAccess\\PropertyAccess::createPropertyAccessor>`
2828
factory. This factory will create a new instance of the
2929
:class:`Symfony\\Component\\PropertyAccess\\PropertyAccessor` class with the
3030
default configuration::
3131

3232
use Symfony\Component\PropertyAccess\PropertyAccess;
3333

34-
$accessor = PropertyAccess::getPropertyAccessor();
34+
$accessor = PropertyAccess::createPropertyAccessor();
35+
36+
..versionadded::2.3
37+
Before Symfony 2.3, the:method:`Symfony\\Component\\PropertyAccess\\PropertyAccess::createPropertyAccessor`
38+
was called ``getPropertyAccessor()``.
3539

3640
Reading from Arrays
3741
-------------------

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp