@@ -78,7 +78,7 @@ provide it with a set of information extractors.
78
78
79
79
.. versionadded :: 4.2
80
80
:class: `Symfony\\ Component\\ PropertyInfo\\ PropertyInitializableExtractorInterface `
81
- was added in Symfony 4.2.
81
+ was introduced in Symfony 4.2.
82
82
83
83
Extractor Ordering
84
84
~~~~~~~~~~~~~~~~~~
@@ -127,7 +127,7 @@ Extractable Information
127
127
-----------------------
128
128
129
129
The :class: `Symfony\\ Component\\ PropertyInfo\\ PropertyInfoExtractor `
130
- class exposes public methods to extract five types of information:
130
+ class exposes public methods to extract several types of information:
131
131
132
132
* :ref: `List of properties <property-info-list >`: :method: `Symfony\\ Component\\ PropertyInfo\\ PropertyListExtractorInterface::getProperties() `
133
133
* :ref: `Property type <property-info-type >`: :method: `Symfony\\ Component\\ PropertyInfo\\ PropertyTypeExtractorInterface::getTypes() `
@@ -265,13 +265,14 @@ provide whether properties are initializable through the class's constructor as
265
265
$propertyInfo->isInitializable($class, $property);
266
266
// Example Result: bool(true)
267
267
268
- :method: `Symfony\\ Component\\ PropertyInfo\\ Extractor\\ ReflectionExtractor::isInitializable ` returns ``true ``
269
- if a constructor's parameter of the given class matches the given property name.
268
+ :method: `Symfony\\ Component\\ PropertyInfo\\ Extractor\\ ReflectionExtractor::isInitializable `
269
+ returns ``true `` if a constructor's parameter of the given class matches the
270
+ given property name.
270
271
271
272
.. tip ::
272
273
273
274
The main :class: `Symfony\\ Component\\ PropertyInfo\\ PropertyInfoExtractor `
274
- class implements all five interfaces, delegating the extraction of property
275
+ class implements all interfaces, delegating the extraction of property
275
276
information to the extractors that have been registered with it.
276
277
277
278
This means that any method available on each of the extractors is also
@@ -374,9 +375,8 @@ ReflectionExtractor
374
375
375
376
Using PHP reflection, the :class: `Symfony\\ Component\\ PropertyInfo\\ Extractor\\ ReflectionExtractor `
376
377
provides list, type and access information from setter and accessor methods.
377
- It can also give the type of a property, and if it is initializable through the constructor using
378
- constructor's parameters.
379
- It supports return and scalar types for PHP 7+.
378
+ It can also give the type of a property, and if it is initializable through the
379
+ constructor. It supports return and scalar types for PHP 7.
380
380
381
381
.. note ::
382
382
0 commit comments