class StringUtil
deprecated
Deprecated since version 3.1, to be removed in 4.0. Use {@see Symfony\Component\Inflector\Inflector} instead.
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
Deprecated since version 3.1, to be removed in 4.0. Use {@see Symfony\Component\Inflector\Inflector::singularize} instead.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.
Please login to continue.