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
6262 {
6363 $ this ->client ->delete ('app/recent-documents ' );
6464 }
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+ }
6578}
Original file line number Diff line number Diff line change 1414 * @method static void addRecentDocument(string $path)
1515 * @method static array recentDocuments()
1616 * @method static void clearRecentDocuments()
17+ * @method static bool openAtLogin(?bool $open = null)
1718 */
1819class App extends Facade
1920{
You can’t perform that action at this time.
0 commit comments