Skip to content

Commit fae8b59

Browse files
committed
[FrameworkBundle] Mention the property_info.with_constructor_extractor option
1 parent 6a1f533 commit fae8b59

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

components/property_info.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,8 @@ with the ``property_info`` service in the Symfony Framework::
538538
// Type information.
539539
$doctrineExtractor->getTypes($class, $property);
540540

541+
.. _components-property-information-constructor-extractor:
542+
541543
ConstructorExtractor
542544
~~~~~~~~~~~~~~~~~~~~
543545

reference/configuration/framework.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2451,6 +2451,14 @@ enabled
24512451

24522452
**type**: ``boolean`` **default**: ``true`` or ``false`` depending on your installation
24532453

2454+
with_constructor_extractor
2455+
..........................
2456+
2457+
**type**: ``boolean`` **default**: ``false``
2458+
2459+
Configures the ``property_info`` service to extract property information from the constructor arguments
2460+
using the :ref:`ConstructorExtractor <components-property-information-constructor-extractor>`.
2461+
24542462
rate_limiter
24552463
~~~~~~~~~~~~
24562464

0 commit comments

Comments
 (0)