PHP Class DaveChild\TextStatistics\Pluralise

Datei anzeigen Open project: nystudio107/seomatic

Public Methods

Method Description
getPlural ( string $string ) : string Get the plural of the word passed in.
getSingular ( string $string ) : string Get the singular of the word passed in.

Method Details

getPlural() public static method

Get the plural of the word passed in.
public static getPlural ( string $string ) : string
$string string Word to pluralise
return string Pluralised word

getSingular() public static method

Get the singular of the word passed in.
public static getSingular ( string $string ) : string
$string string Word to singularise
return string Singularised word