function RoutingDataCollector::getRoutesCount

Return value

int

1 call to RoutingDataCollector::getRoutesCount()
RoutingDataCollector::getPanelSummary in webprofiler/src/DataCollector/RoutingDataCollector.php
Returns the string used in vertical tab summary.

File

webprofiler/src/DataCollector/RoutingDataCollector.php, line 53

Class

RoutingDataCollector
Provides a data collector which shows all available routes.

Namespace

Drupal\webprofiler\DataCollector

Code

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