code: public function resolve()
      {
          $request = $this->app->make(Request::class);
  
          if ($this->app->runningInConsole()) {
              $command = $request->server('argv', []);
              if (!is_array($command)) {
                  $command = explode(' ', $command);
              }
  
              return new ConsoleRequest($command);
          }
  
          return new LaravelRequest($request);
      }
docs: Resolve the current request.
  
  @return \Bugsnag\Request\RequestInterface