Skip to content

Commit 656c2c1

Browse files
committed
Merge branch '5.4' into 6.2
* 5.4: mention french inflector and interface in String doc
2 parents ea50dc7 + 5d49314 commit 656c2c1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

components/string.rst

+6
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,12 @@ class to convert English words from/to singular/plural with confidence::
633633
The value returned by both methods is always an array because sometimes it's not
634634
possible to determine a unique singular/plural form for the given word.
635635

636+
.. note::
637+
638+
Symfony also provides a :class:`Symfony\\Component\\String\\Inflector\\FrenchInflector`
639+
and an :class:`Symfony\\Component\\String\\Inflector\\InflectorInterface` if
640+
you need to implement your own inflector.
641+
636642
.. _`ASCII`: https://en.wikipedia.org/wiki/ASCII
637643
.. _`Unicode`: https://en.wikipedia.org/wiki/Unicode
638644
.. _`Code points`: https://en.wikipedia.org/wiki/Code_point

0 commit comments

Comments
 (0)