JStringInflector::_addRule
Adds inflection regex rules to the inflector.
Signature
private function _addRule(mixed
$data,
string
$ruleType )
Parameters
-
$data
- A string or an array of strings or regex rules to add.
-
$ruleType
- The rule type: singular | plural | countable
Returns
- void