function RoutingDataCollector::__construct
Constructs a new RoutingDataCollector.
Parameters
\Drupal\Core\Routing\RouteProviderInterface $routeProvider: The route provider.
File
-
webprofiler/
src/ DataCollector/ RoutingDataCollector.php, line 32
Class
- RoutingDataCollector
- Provides a data collector which shows all available routes.
Namespace
Drupal\webprofiler\DataCollectorCode
public function __construct(RouteProviderInterface $routeProvider) {
$this->routeProvider = $routeProvider;
}