There was an error while loading. Please reload this page.
2 parents adf7d3b + 6519ac4 commit 287f2cbCopy full SHA for 287f2cb
en/core-utility-libraries/inflector.rst
@@ -15,11 +15,19 @@ You can try out the inflections online at `inflector.cakephp.org <http://inflect
15
* **Input:** Apple, Orange, Person, Man
16
* **Output:** Apples, Oranges, People, Men
17
18
+.. note::
19
+
20
+ ``pluralize()`` may not always correctly convert a noun that is already in it's plural form.
21
22
.. php:staticmethod:: singularize($plural)
23
24
* **Input:** Apples, Oranges, People, Men
25
* **Output:** Apple, Orange, Person, Man
26
27
28
29
+ ``singularize()`` may not always correctly convert a noun that is already in it's singular form.
30
31
.. php:staticmethod:: camelize($underscored)
32
33
* **Input:** Apple\_pie, some\_thing, people\_person
0 commit comments