Skip to content

Commit 08388f9

Browse files
committed
Corrected some typos
1 parent 98a0fe4 commit 08388f9

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

components/property_access.rst

Lines changed: 7 additions & 9 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
~~~~~~~~~~~~~~~~~~~~
@@ -318,7 +318,7 @@ see `Enable other Features`_.
318318
var_dump($person->getWouter()); // array(...)
319319
320320
You can override the called setter method using metadata (i.e. annotations or
321-
configuration files). see `Custom method calls and virtual properties in a class`_
321+
configuration files). See `Custom method calls and virtual properties in a class`_.
322322

323323
Writing to Array Properties
324324
~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -428,7 +428,7 @@ Custom method calls and virtual properties in a class
428428
-----------------------------------------------------
429429

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

434434
For those cases you can add metadata to the class being accessed so that the
@@ -678,17 +678,15 @@ Or you can pass parameters directly to the constructor (not the recommended way)
678678

679679
If you need to enable metadata processing (see
680680
`Custom method calls and virtual properties in a class`_) you must instantiate
681-
a :class:`Symfony\\Componente\\PropertyAcces\\Mapping\\Factory\\MetadataFactoryInterface`
681+
a :class:`Symfony\\Component\\PropertyAccess\\Mapping\\Factory\\MetadataFactoryInterface`
682682
and use the method `setMetadataFactory` on the
683683
:class:`Symfony\\Component\\PropertyAccess\\PropertyAccessorBuilder`. Bundled with
684684
the component you can find
685685
a `MetadataFactory` class that supports different kind of loaders (annotations,
686-
YAML and YML files) called :class:`
687-
Symfony\\Componente\\PropertyAcces\\Mapping\\Factory\\LazyLoadingMetadataFactory`.
686+
YAML and YML files) called :class:`Symfony\\Component\\PropertyAccess\\Mapping\\Factory\\LazyLoadingMetadataFactory`.
688687

689-
Its constructor needs a :class:`
690-
Symfony\\Component\\PropertyAccess\\Mapping\\Loader\\LoaderInterface` which specifies
691-
the source of the metadata information. You can also use a PSR6 compliant cache
688+
Its constructor needs a :class:`Symfony\\Component\\PropertyAccess\\Mapping\\Loader\\LoaderInterface`
689+
which specifies the source of the metadata information. You can also use a PSR6 compliant cache
692690
as the second parameter passing a :class:`Psr\\Cache\\CacheItemPoolInterface`
693691
reference.
694692

0 commit comments

Comments
 (0)