Propel API
Class

DefaultEnglishPluralizer

class DefaultEnglishPluralizer implements Pluralizer

The default Enlglish pluralizer class.

Methods

string getPluralForm(string $root)

Generate a plural name based on the passed in root.

Details

at line 28
public string getPluralForm(string $root)

Generate a plural name based on the passed in root.

Parameters

string $root The root that needs to be pluralized (e.g. Author)

Return Value

string The plural form of $root (e.g. Authors).