interface LanguageInterface (View source)

Interface LanguageInterface

Methods

string
translate(string $key)

translate

string
plural(string $string, int $count = 1)

plural

mixed
sprintf(string $key)

sprintf

boolean
exists(string $key)

exists

Details

at line line 23
string translate(string $key)

translate

Parameters

string $key

Return Value

string

at line line 33
string plural(string $string, int $count = 1)

plural

Parameters

string $string
int $count

Return Value

string

at line line 42
mixed sprintf(string $key)

sprintf

Parameters

string $key

Return Value

mixed

at line line 51
boolean exists(string $key)

exists

Parameters

string $key

Return Value

boolean