Why laravel service provider keep trying to get dependency when I call command which doesn`t use it?

前端 未结 0 1984
灰色年华
灰色年华 2021-01-07 23:48

I registered some dependency in AppServiceProvider for my console app

  if ($this->app->runningInConsole()) {
        if (!empty($_SERVER[ \'argv\' ])
          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题