File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,21 @@ public function isHidden(): bool
3434 return $ this ->client ->get ('app/is-hidden ' )->json ('is_hidden ' );
3535 }
3636
37+ public function getLocale (): string
38+ {
39+ return $ this ->client ->get ('app/locale ' )->json ('locale ' );
40+ }
41+
42+ public function getLocaleCountryCode (): string
43+ {
44+ return $ this ->client ->get ('app/locale-country-code ' )->json ('locale_country_code ' );
45+ }
46+
47+ public function getSystemLocale (): string
48+ {
49+ return $ this ->client ->get ('app/system-locale ' )->json ('system_locale ' );
50+ }
51+
3752 public function version (): string
3853 {
3954 return $ this ->client ->get ('app/version ' )->json ('version ' );
Original file line number Diff line number Diff line change 1010 * @method static void focus()
1111 * @method static void hide()
1212 * @method static bool isHidden()
13+ * @method static string getLocale()
14+ * @method static string getLocaleCountryCode()
15+ * @method static string getSystemLocale()
1316 * @method static string version()
1417 * @method static int badgeCount($count = null)
1518 * @method static void addRecentDocument(string $path)
You can’t perform that action at this time.
0 commit comments