Language: added getAll()

This commit is contained in:
Dylan K. Taylor 2022-11-15 15:27:14 +00:00
parent ff2391e74a
commit d19f0bf7be
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -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 = "";