JStringInflector::toSingular
Converts a word into its singular form.
Signature
public function toSingular(string
$word )
Parameters
-
$word
- The plural word to singularise.
Returns
- mixed
- An inflected string, or false if no rule could be applied.