Skip to content

Commit 01563dd

Browse files
Kleinastxabbuh
authored andcommitted
Add information for enable property_info service
add code for enable property_info service because service is not available by default in symfony full stack. Also, I don't really understand why the property_info is mentionned in ReflectionExtractor section because property_info service lead to Symfony\Component\PropertyInfo\PropertyInfoExtractor and not the ReflectionExtractor class.
1 parent ebcc094 commit 01563dd

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

components/property_info.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,14 @@ provides list, type and access information from setter and accessor methods.
352352
It can also provide return and scalar types for PHP 7+.
353353

354354
This service is automatically registered with the ``property_info`` service in
355-
the Symfony Framework.
355+
the Symfony Framework, you just have to enable it in config.yml.
356+
357+
.. code-block:: yaml
358+
359+
framework:
360+
property_info:
361+
enabled: true
362+
356363
357364
.. code-block:: php
358365

0 commit comments

Comments
 (0)