You are here

public function RouteCollection::all in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/routing/RouteCollection.php \Symfony\Component\Routing\RouteCollection::all()

Returns all routes in this collection.

Return value

Route[] An array of routes

2 methods override RouteCollection::all()
ChainRouteCollection::all in vendor/symfony-cmf/routing/ChainRouteCollection.php
Returns all routes in this collection.
LazyRouteCollection::all in vendor/symfony-cmf/routing/LazyRouteCollection.php
Returns all routes in this collection.

File

vendor/symfony/routing/RouteCollection.php, line 87

Class

RouteCollection
A RouteCollection represents a set of Route instances.

Namespace

Symfony\Component\Routing

Code

public function all() {
  return $this->routes;
}