class Inflector
Converts words between singular and plural forms.
static string|array | singularize(string $plural) Returns the singular form of a word. |
Returns the singular form of a word.
If the method can't determine the form with certainty, an array of the possible singulars is returned.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/Inflector/Inflector.html