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
34
34
return $ this ->client ->get ('app/is-hidden ' )->json ('is_hidden ' );
35
35
}
36
36
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
+
37
52
public function version (): string
38
53
{
39
54
return $ this ->client ->get ('app/version ' )->json ('version ' );
Original file line number Diff line number Diff line change 10
10
* @method static void focus()
11
11
* @method static void hide()
12
12
* @method static bool isHidden()
13
+ * @method static string getLocale()
14
+ * @method static string getLocaleCountryCode()
15
+ * @method static string getSystemLocale()
13
16
* @method static string version()
14
17
* @method static int badgeCount($count = null)
15
18
* @method static void addRecentDocument(string $path)
You can’t perform that action at this time.
0 commit comments