public function LazyRouteCollection::all in Drupal 9
Returns all routes in this collection.
Return value
\Symfony\Component\Routing\Route[] An array of routes
2 calls to LazyRouteCollection::all()
- LazyRouteCollection::count in core/
lib/ Drupal/ Core/ Routing/ LazyRouteCollection.php - Gets the number of Routes in this collection.
- LazyRouteCollection::getIterator in core/
lib/ Drupal/ Core/ Routing/ LazyRouteCollection.php
File
- core/
lib/ Drupal/ Core/ Routing/ LazyRouteCollection.php, line 46
Class
Namespace
Drupal\Core\RoutingCode
public function all() {
return $this->provider
->getRoutesByNames(NULL);
}