function LazyRouteCollection::count
Gets the number of Routes in this collection.
Attributes
#[\ReturnTypeWillChange]
  Return value
int The number of routes
File
- 
              core/
lib/ Drupal/ Core/ Routing/ LazyRouteCollection.php, line 36  
Class
Namespace
Drupal\Core\RoutingCode
public function count() {
  return count($this->all());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.