We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
2 parents0f745f4 +0c53c5e commit2fe611bCopy full SHA for 2fe611b
components/property_access/introduction.rst
@@ -24,14 +24,18 @@ Usage
24
-----
25
26
The entry point of this component is the
27
-:method:`PropertyAccess::getPropertyAccessor<Symfony\\Component\\PropertyAccess\\PropertyAccess::getPropertyAccessor>`
+:method:`PropertyAccess::createPropertyAccessor<Symfony\\Component\\PropertyAccess\\PropertyAccess::createPropertyAccessor>`
28
factory. This factory will create a new instance of the
29
:class:`Symfony\\Component\\PropertyAccess\\PropertyAccessor` class with the
30
default configuration::
31
32
use Symfony\Component\PropertyAccess\PropertyAccess;
33
34
- $accessor = PropertyAccess::getPropertyAccessor();
+ $accessor = PropertyAccess::createPropertyAccessor();
35
+
36
+..versionadded::2.3
37
+ Before Symfony 2.3, the:method:`Symfony\\Component\\PropertyAccess\\PropertyAccess::createPropertyAccessor`
38
+ was called ``getPropertyAccessor()``.
39
40
Reading from Arrays
41
-------------------