laravel - How can I investigate an exception in console? -


i have created console command requires 2 dependencies:

public function __construct(loopinterface $loop, clientimpl $asteriskclient) { parent::__construct();

    $this->loop = $loop;     $this->asteriskclient = $asteriskclient; } 

i have written service provider both of these. know 1 client working (since isn't new , i've used before), here how i've added react event loop:

namespace app\providers;  use illuminate\support\serviceprovider; use react\eventloop\factory;  class reactloopserviceprovider extends serviceprovider {      protected $defer = true;      /**      * bootstrap application services.      *      * @return void      */     public function boot()     {         //     }      /**      * register application services.      *      * @return void      */     public function register()     {         $loop = factory::create();         $this->app->bind('react\eventloop\loopinterface', $loop);     }      public function provides()     {         return 'react\eventloop\loopinterface';     } } 

and here how i've registered it:

'providers' => [     app\providers\pamiserviceprovider::class,     app\providers\reactloopserviceprovider::class, ] 

however, when run command (php artisan app:push-server -vvv), output:

  [errorexception]   invalid argument supplied foreach() 

as can see, there's no traceback here. how can investigate this?

even though -vvv , --debug options not print out traceback, log @ storage/logs/laravel.log updated , contains traceback.


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -