Constructs a new RoutePreloader.
\Drupal\Core\Routing\RouteProviderInterface $routeProvider: The route provider.
\Drupal\Core\State\StateInterface $state: The state key value store.
public function __construct(RouteProviderInterface $routeProvider, StateInterface $state) { }