Expanded class hierarchy of RouteProvider in Drupal 9
- class \Drupal\Core\Routing\RouteProvider implements \Symfony\Component\EventDispatcher\EventSubscriberInterface, CacheableRouteProviderInterface, PreloadableRouteProviderInterface
- class \Drupal\KernelTests\Core\Routing\TestRouteProvider