We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6103ed5 commit 15d04bdCopy full SHA for 15d04bd
src/App.php
@@ -3,6 +3,7 @@
3
namespace Native\Laravel;
4
5
use Native\Laravel\Client\Client;
6
+use Phar;
7
8
class App
9
{
@@ -57,4 +58,9 @@ public function clearRecentDocuments(): void
57
58
59
$this->client->delete('app/recent-documents');
60
}
61
+
62
+ public function isRunningBundled(): bool
63
+ {
64
+ return Phar::running() !== '';
65
+ }
66
src/Facades/App.php
@@ -13,6 +13,7 @@
13
* @method static void addRecentDocument(string $path)
14
* @method static array recentDocuments()
15
* @method static void clearRecentDocuments()
16
+ * @method static bool isRunningBundled()
17
*/
18
class App extends Facade
19
0 commit comments