Laravel accessing route parameter in service provider

I have a route in laravel

Route::get('{company}/dashboard', [DashboardController::class, 'company'])->name('dashboard');

and I got a new Service-Provider. In that Service-Provider I want to access the variable company from the route.

I can access the request with

request()
// OR
$request = app(IlluminateHttpRequest::class);

but the Parameter is not present. The request dump look like this:

^ IlluminateHttpRequest {#42 ▼
  +attributes: SymfonyComponentHttpFoundationParameterBag {#44 ▼
    #parameters: []
  }
  +request: SymfonyComponentHttpFoundationInputBag {#43 ▶}
  +query: SymfonyComponentHttpFoundationInputBag {#50 ▶}
  +server: SymfonyComponentHttpFoundationServerBag {#46 ▶}
  +files: SymfonyComponentHttpFoundationFileBag {#47 ▶}
  +cookies: SymfonyComponentHttpFoundationInputBag {#45 ▶}
  +headers: SymfonyComponentHttpFoundationHeaderBag {#48 ▶}
  #content: null
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: null
  #pathInfo: "/test/dashboard"
  #requestUri: "/test/dashboard"
  #baseUrl: ""
  #basePath: null
  #method: null
  #format: null
  #session: null
  #locale: null
  #defaultLocale: "en"
  -preferredFormat: null
  -isHostValid: true
  -isForwardedValid: true
  #json: null
  #convertedFiles: null
  #userResolver: null
  #routeResolver: null
  basePath: ""
  method: "GET"
  format: "html"
}

any idea how I can access the parameter company?

Greetings
C14r