1 Illuminate\Foundation\Bootstrap\HandleExceptions::handleError("Undefined property: App\Console\Commands\DesktopNotification::$app", "/home/vagrant/code/wc2/vendor/nunomaduro/laravel-desktop-notifier/src/LaravelDesktopNotifierServiceProvider.php", ["Hello Web Artisan", "Love beautiful code? We do too!"])
/home/vagrant/code/wc2/vendor/nunomaduro/laravel-desktop-notifier/src/LaravelDesktopNotifierServiceProvider.php : 42
2 App\Console\Commands\DesktopNotification::NunoMaduro\LaravelDesktopNotifier{closure}("Hello Web Artisan", "Love beautiful code? We do too!")
/home/vagrant/code/wc2/vendor/laravel/framework/src/Illuminate/Support/Traits/Macroable.php : 106
php artisan desktop:example
ErrorException : Undefined property: App\Console\Commands\DesktopNotification::$app
at /home/vagrant/code/wc2/vendor/nunomaduro/laravel-desktop-notifier/src/LaravelDesktopNotifierServiceProvider.php: 42 38| */ 39| Command::macro( 40| 'notify', 41| function (string $text, string $body, $icon = null) {
Exception trace:
1 Illuminate\Foundation\Bootstrap\HandleExceptions::handleError("Undefined property: App\Console\Commands\DesktopNotification::$app", "/home/vagrant/code/wc2/vendor/nunomaduro/laravel-desktop-notifier/src/LaravelDesktopNotifierServiceProvider.php", ["Hello Web Artisan", "Love beautiful code? We do too!"]) /home/vagrant/code/wc2/vendor/nunomaduro/laravel-desktop-notifier/src/LaravelDesktopNotifierServiceProvider.php : 42
2 App\Console\Commands\DesktopNotification::NunoMaduro\LaravelDesktopNotifier{closure}("Hello Web Artisan", "Love beautiful code? We do too!") /home/vagrant/code/wc2/vendor/laravel/framework/src/Illuminate/Support/Traits/Macroable.php : 106