Skip to content

Commit 4c583ce

Browse files
authored
mention french inflector and interface in String doc
1 parent 054e67c commit 4c583ce

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

components/string.rst

Lines changed: 6 additions & 0 deletions
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 provide a :class:`Symfony\\Component\\String\\Inflector\\FrenchInflector`
639+
and an :class:`Symfony\\Component\\String\\Inflector\\InflectorInterface` to implements
640+
if you need to use 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)