File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -62,4 +62,17 @@ public function clearRecentDocuments(): void
62
62
{
63
63
$ this ->client ->delete ('app/recent-documents ' );
64
64
}
65
+
66
+ public function openAtLogin (?bool $ open = null ): bool
67
+ {
68
+ if ($ open === null ) {
69
+ return (bool ) $ this ->client ->get ('app/open-at-login ' )->json ('open ' );
70
+ }
71
+
72
+ $ this ->client ->post ('app/open-at-login ' , [
73
+ 'open ' => $ open ,
74
+ ]);
75
+
76
+ return $ open ;
77
+ }
65
78
}
Original file line number Diff line number Diff line change 14
14
* @method static void addRecentDocument(string $path)
15
15
* @method static array recentDocuments()
16
16
* @method static void clearRecentDocuments()
17
+ * @method static bool openAtLogin(?bool $open = null)
17
18
*/
18
19
class App extends Facade
19
20
{
You can’t perform that action at this time.
0 commit comments