mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-10 05:34:54 +00:00
Language: added getAll()
This commit is contained in:
parent
ff2391e74a
commit
d19f0bf7be
@ -173,6 +173,14 @@ class Language{
|
||||
return $this->internalGet($id) ?? $id;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string[]
|
||||
* @phpstan-return array<string, string>
|
||||
*/
|
||||
public function getAll() : array{
|
||||
return $this->lang;
|
||||
}
|
||||
|
||||
protected function parseTranslation(string $text, ?string $onlyPrefix = null) : string{
|
||||
$newString = "";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user