You are here

public function RouteProviderLazyBuilder::getRoutesCount in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php \Drupal\Core\Routing\RouteProviderLazyBuilder::getRoutesCount()

File

core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php, line 134

Class

RouteProviderLazyBuilder
A Route Provider front-end for all Drupal-stored routes.

Namespace

Drupal\Core\Routing

Code

public function getRoutesCount() {
  return $this
    ->getRouteProvider()
    ->getRoutesCount();
}