class InflectorFactory (View source)

Methods

createInflector(Ruleset|null $singularRuleset = null, Ruleset|null $pluralRuleset = null)

No description

createSingularRuleset(Rules|null $rules = null, Uninflected|null $uninflected = null, Irregular|null $irregular = null, Irregular|null $pluralIrregular = null)

No description

createPluralRuleset(Rules|null $rules = null, Uninflected|null $uninflected = null, Irregular|null $irregular = null)

No description

Details

createInflector(Ruleset|null $singularRuleset = null, Ruleset|null $pluralRuleset = null)

Parameters

Ruleset|null $singularRuleset
Ruleset|null $pluralRuleset

createSingularRuleset(Rules|null $rules = null, Uninflected|null $uninflected = null, Irregular|null $irregular = null, Irregular|null $pluralIrregular = null)

Parameters

Rules|null $rules
Uninflected|null $uninflected
Irregular|null $irregular
Irregular|null $pluralIrregular

createPluralRuleset(Rules|null $rules = null, Uninflected|null $uninflected = null, Irregular|null $irregular = null)

Parameters

Rules|null $rules
Uninflected|null $uninflected
Irregular|null $irregular