We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60ac44a commit 372614dCopy full SHA for 372614d
src/App.php
@@ -62,4 +62,17 @@ public function clearRecentDocuments(): void
62
{
63
$this->client->delete('app/recent-documents');
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
78
src/Facades/App.php
@@ -14,6 +14,7 @@
14
* @method static void addRecentDocument(string $path)
15
* @method static array recentDocuments()
16
* @method static void clearRecentDocuments()
17
+ * @method static bool openAtLogin(?bool $open = null)
18
*/
19
class App extends Facade
20
0 commit comments