Added missing getter

This commit is contained in:
Sergio Brighenti 2018-11-30 21:36:12 +01:00
parent 791cdaf9d5
commit 4dbfa5cd23

View file

@ -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