singularize()
singularize(string $plural) : string[]
Returns the singular forms of a string.
If the method can't determine the form with certainty, several possible singulars are returned.
Parameters
string | $plural |
Returns
string[] —An array of possible singular forms