public RouteProviderInterface::getAllRoutes()
Returns all the routes on the system.
Usage of this method is discouraged for performance reasons. If possible, use RouteProviderInterface::getRoutesByNames() or RouteProviderInterface::getRoutesByPattern() instead.
\Symfony\Component\Routing\Route[] An iterator of routes keyed by route name.
public function getAllRoutes();
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Routing!RouteProviderInterface.php/function/RouteProviderInterface::getAllRoutes/8.1.x