Skip to content

Commit 4f1b9f5

Browse files
committed
[LiveComponent] Add doc entry about TypeInfo
1 parent b12ee10 commit 4f1b9f5

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/LiveComponent/doc/index.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,17 @@ library. Make sure it is installed in you application:
484484
485485
$ composer require phpdocumentor/reflection-docblock
486486
487+
.. versionadded:: 2.26
488+
489+
Support for `Symfony TypeInfo`_ component was added in LiveComponents 2.26.
490+
491+
To get rid of deprecations about ``PropertyInfoExtractor::getTypes()`` from the `Symfony PropertyInfo`_ component,
492+
ensure to upgrade ``symfony/property-info`` to at least 7.1, which requires **PHP 8.2**::
493+
494+
.. code-block:: terminal
495+
496+
$ composer require symfony/property-info:^7.1
497+
487498
Writable Object Properties or Array Keys
488499
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
489500

@@ -3900,3 +3911,5 @@ promise. However, any internal implementation in the JavaScript files
39003911
.. _`setting the locale in the request`: https://symfony.com/doc/current/translation.html#translation-locale
39013912
.. _`Stimulus action parameter`: https://stimulus.hotwired.dev/reference/actions#action-parameters
39023913
.. _`@symfony/ux-live-component npm package`: https://www.npmjs.com/package/@symfony/ux-live-component
3914+
.. _`Symfony TypeInfo`: https://symfony.com/doc/current/components/type_info.html
3915+
.. _`Symfony PropertyInfo`: https://symfony.com/doc/current/components/property_info.html

0 commit comments

Comments
 (0)