Messages
in package
FinalYes
Runtime interface text shared by every renderer and implementation.
Table of Contents
Methods
- count() : string
- Replace the first `{count}` in a counted message.
- forLanguage() : array<string|int, mixed>
- Return the interface text for a supported language (ko, en, ja or zh).
Methods
count()
Replace the first `{count}` in a counted message.
public
static count(string $template, int $count) : string
Parameters
- $template : string
- $count : int
Return values
stringforLanguage()
Return the interface text for a supported language (ko, en, ja or zh).
public
static forLanguage(mixed $language) : array<string|int, mixed>
Parameters
- $language : mixed