JStringInflector::addWord
Adds a specific singular-plural pair for a word.
Signature
public function addWord(string
$singular,
[string
$plural = null] )
Parameters
-
$singular
- The singular form of the word.
-
$plural
- The plural form of the word. If omitted, it is assumed the singular and plural are identical.
Returns
- JStringInflector
- Returns this object to support chaining.