Skip to content

Commit 31642f3

Browse files
committed
Merge branch '6.2' into 6.3
* 6.2: mention french inflector and interface in String doc
2 parents d1da6ba + 656c2c1 commit 31642f3

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

650+
.. note::
651+
652+
Symfony also provides a :class:`Symfony\\Component\\String\\Inflector\\FrenchInflector`
653+
and an :class:`Symfony\\Component\\String\\Inflector\\InflectorInterface` if
654+
you need to implement your own inflector.
655+
650656
.. _`ASCII`: https://en.wikipedia.org/wiki/ASCII
651657
.. _`Unicode`: https://en.wikipedia.org/wiki/Unicode
652658
.. _`Code points`: https://en.wikipedia.org/wiki/Code_point

0 commit comments

Comments
 (0)