PHP 클래스 DaveChild\TextStatistics\Pluralise

파일 보기 프로젝트 열기: nystudio107/seomatic

공개 메소드들

메소드 설명
getPlural ( string $string ) : string Get the plural of the word passed in.
getSingular ( string $string ) : string Get the singular of the word passed in.

메소드 상세

getPlural() 공개 정적인 메소드

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

getSingular() 공개 정적인 메소드

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