Added missing getter
This commit is contained in:
parent
791cdaf9d5
commit
4dbfa5cd23
|
@ -66,6 +66,14 @@ class Lang
|
|||
return substr(@$_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public static function getLang(): string
|
||||
{
|
||||
return self::$lang;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param $key
|
||||
|
|
Loading…
Reference in a new issue