You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to ``true``, e.g. ``PropertyAccess::createPropertyAccessor(true)``.
53
+
to ``true``.
55
54
56
55
You can also use multi dimensional arrays::
57
56
@@ -184,7 +183,7 @@ Magic ``__call()`` Method
184
183
~~~~~~~~~~~~~~~~~~~~~~~~~
185
184
186
185
At last, ``getValue`` can use the magic ``__call`` method, but you need to
187
-
enable this feature by using :class:`Symfony\\Component\\PropertyAccess\\PropertyAccessorBuilder`::
186
+
enable this feature by setting the first argument of :method:`PropertyAccess::createPropertyAccessor<Symfony\\Component\\PropertyAccess\\PropertyAccess::createPropertyAccessor()>`::
188
187
189
188
// ...
190
189
class Person
@@ -210,17 +209,10 @@ enable this feature by using :class:`Symfony\\Component\\PropertyAccess\\Propert
@@ -275,10 +267,7 @@ can use setters, the magic ``__set`` method or properties to set values::
275
267
var_dump($person->getLastName()); // 'de Jong'
276
268
var_dump($person->children); // array(Person());
277
269
278
-
You can also use ``__call`` to set values but you need to enable the feature,
279
-
see `Enable other Features`_.
280
-
281
-
.. code-block:: php
270
+
You can also use ``__call`` to set values but you need to enable the feature by setting the first argument of :method:`PropertyAccess::createPropertyAccessor<Symfony\\Component\\PropertyAccess\\PropertyAccess::createPropertyAccessor()>`::
0 commit comments