class Pluralizer (View source)

Properties

static array $uncountable Uncountable word forms.

Methods

static  string
plural( string $value, int $count = 2)

Get the plural form of an English word.

static  string
singular( string $value)

Get the singular form of an English word.

Details

at line line 51
static string plural( string $value, int $count = 2)

Get the plural form of an English word.

Parameters

string $value
int $count

Return Value

string

at line line 68
static string singular( string $value)

Get the singular form of an English word.

Parameters

string $value

Return Value

string