@@ -117,7 +117,7 @@ property name (``first_name`` becomes ``FirstName``) and prefixes it with
117
117
var_dump($accessor->getValue($person, 'first_name')); // 'Wouter'
118
118
119
119
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 `_.
121
121
122
122
Using Hassers/Issers
123
123
~~~~~~~~~~~~~~~~~~~~
@@ -318,7 +318,7 @@ see `Enable other Features`_.
318
318
var_dump($person->getWouter()); // array(...)
319
319
320
320
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 `_.
322
322
323
323
Writing to Array Properties
324
324
~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -428,7 +428,7 @@ Custom method calls and virtual properties in a class
428
428
-----------------------------------------------------
429
429
430
430
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
432
432
names are not in English or its singularization is not properly detected.
433
433
434
434
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)
678
678
679
679
If you need to enable metadata processing (see
680
680
`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 `
682
682
and use the method `setMetadataFactory ` on the
683
683
:class: `Symfony\\ Component\\ PropertyAccess\\ PropertyAccessorBuilder `. Bundled with
684
684
the component you can find
685
685
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 `.
688
687
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
692
690
as the second parameter passing a :class: `Psr\\ Cache\\ CacheItemPoolInterface `
693
691
reference.
694
692
0 commit comments