File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
components/property_access Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -24,14 +24,18 @@ Usage
24
24
-----
25
25
26
26
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 > `
28
28
factory. This factory will create a new instance of the
29
29
:class: `Symfony\\ Component\\ PropertyAccess\\ PropertyAccessor ` class with the
30
30
default configuration::
31
31
32
32
use Symfony\Component\PropertyAccess\PropertyAccess;
33
33
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() ``.
35
39
36
40
Reading from Arrays
37
41
-------------------
You can’t perform that action at this time.
0 commit comments