Inflector

Undocumented in source.

Members

Aliases

pluralize
alias pluralize = transform!true
Undocumented in source.
singularize
alias singularize = transform!false
Undocumented in source.

Static functions

irregular
void irregular(string singular, string plural)
Undocumented in source. Be warned that the author may not have intended to support it.
plural
void plural()
Undocumented in source. Be warned that the author may not have intended to support it.
singular
void singular()
Undocumented in source. Be warned that the author may not have intended to support it.
transform
string transform(string input)
Undocumented in source. Be warned that the author may not have intended to support it.
uncountable
void uncountable(string[] values)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

_irregulars
Translation[] _irregulars;
Undocumented in source.
_plurals
InflectionInterface[] _plurals;
Undocumented in source.
_singulars
InflectionInterface[] _singulars;
Undocumented in source.
_uncountables
string[] _uncountables;
Undocumented in source.

Meta