Propel API
Class

StandardEnglishPluralizer

class StandardEnglishPluralizer implements Pluralizer

Standard replacement English pluralizer class.

Based on the links below

Methods

string getPluralForm(string $root)

Generate a plural name based on the passed in root.

Details

at line 117
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).