StringUtil deprecated
StringUtil deprecated
class StringUtil
deprecated
Creates singulars from plurals.
Methods
static string|array | singularify(string $plural) deprecated Returns the singular form of a word. |
Details
static string|array singularify(string $plural) deprecated
deprecated
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/PropertyAccess/StringUtil.html