Skip to content

Commit d173ef3

Browse files
MrYamousjaviereguiluz
authored andcommitted
mention french inflector and interface in String doc
1 parent 2b8bbfe commit d173ef3

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
@@ -649,6 +649,12 @@ class to convert English words from/to singular/plural with confidence::
649649
The value returned by both methods is always an array because sometimes it's not
650650
possible to determine a unique singular/plural form for the given word.
651651

652+
.. note::
653+
654+
Symfony also provide a :class:`Symfony\\Component\\String\\Inflector\\FrenchInflector`
655+
and an :class:`Symfony\\Component\\String\\Inflector\\InflectorInterface` to implements
656+
if you need to use your own inflector.
657+
652658
.. _`ASCII`: https://en.wikipedia.org/wiki/ASCII
653659
.. _`Unicode`: https://en.wikipedia.org/wiki/Unicode
654660
.. _`Code points`: https://en.wikipedia.org/wiki/Code_point

0 commit comments

Comments
 (0)