Returns all routes in this collection.
Return value
Route[] An array of routes
File
- drupal/core/vendor/symfony/routing/Symfony/Component/Routing/RouteCollection.php, line 91
Class
- RouteCollection
- A RouteCollection represents a set of Route instances.
Namespace
Symfony\Component\Routing
Code
public function all() {
return $this->routes;
}