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 88622d5

Browse filesBrowse files
committed
Corrected some typos
1 parent 5526cdb commit 88622d5
Copy full SHA for 88622d5

File tree

1 file changed

+6
-8
lines changed
Filter options

1 file changed

+6
-8
lines changed

‎components/property_access/introduction.rst

Copy file name to clipboardExpand all lines: components/property_access/introduction.rst
+6-8Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ property name (``first_name`` becomes ``FirstName``) and prefixes it with
117117
var_dump($accessor->getValue($person, 'first_name')); // 'Wouter'
118118

119119
You can override the called getter method using metadata (i.e. annotations or
120-
configuration files). see `Custom method calls and virtual properties in a class`_
120+
configuration files). See `Custom method calls and virtual properties in a class`_.
121121

122122
Using Hassers/Issers
123123
~~~~~~~~~~~~~~~~~~~~
@@ -310,7 +310,7 @@ see `Enable other Features`_.
310310
var_dump($person->getWouter()); // array(...)
311311
312312
You can override the called setter method using metadata (i.e. annotations or
313-
configuration files). see `Custom method calls and virtual properties in a class`_
313+
configuration files). See `Custom method calls and virtual properties in a class`_.
314314

315315
Checking Property Paths
316316
-----------------------
@@ -375,7 +375,7 @@ Custom method calls and virtual properties in a class
375375
-----------------------------------------------------
376376

377377
Sometimes you may not want the component to guess which method has to be called
378-
when reading or writing properties. This is specially interesting when property
378+
when reading or writing properties. This is especially interesting when property
379379
names are not in English or its singularization is not properly detected.
380380

381381
For those cases you can add metadata to the class being accessed so that the
@@ -625,16 +625,14 @@ Or you can pass parameters directly to the constructor (not the recommended way)
625625

626626
If you need to enable metadata processing (see
627627
`Custom method calls and virtual properties in a class`_) you must instantiate
628-
a :class:`Symfony\\Componente\\PropertyAcces\\Mapping\\Factory\\MetadataFactoryInterface`
628+
a :class:`Symfony\\Component\\PropertyAcces\\Mapping\\Factory\\MetadataFactoryInterface`
629629
and use the method `setMetadataFactory` on the
630630
:class:`Symfony\\Component\\PropertyAccess\\PropertyAccessorBuilder`. Bundled with
631631
the component you can find
632632
a `MetadataFactory` class that supports different kind of loaders (annotations,
633-
YAML and YML files) called :class:`
634-
Symfony\\Componente\\PropertyAcces\\Mapping\\Factory\\LazyLoadingMetadataFactory`.
633+
YAML and YML files) called :class:`Symfony\\Component\\PropertyAcces\\Mapping\\Factory\\LazyLoadingMetadataFactory`.
635634

636-
Its constructor needs a :class:`
637-
Symfony\\Component\\PropertyAccess\\Mapping\\Loader\\LoaderInterface` which specifies
635+
Its constructor needs a :class:`Symfony\\Component\\PropertyAccess\\Mapping\\Loader\\LoaderInterface` which specifies
638636
the source of the metadata information. You can also use a PSR6 compliant cache
639637
as the second parameter passing a :class:`Psr\\Cache\\CacheItemPoolInterface`
640638
reference.

0 commit comments

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