You are here

public function LazyRouteCollection::all in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony-cmf/routing/LazyRouteCollection.php \Symfony\Cmf\Component\Routing\LazyRouteCollection::all()

Returns all routes in this collection.

Return value

Route[] An array of routes

Overrides RouteCollection::all

2 calls to LazyRouteCollection::all()
LazyRouteCollection::count in vendor/symfony-cmf/routing/LazyRouteCollection.php
Gets the number of Routes in this collection.
LazyRouteCollection::getIterator in vendor/symfony-cmf/routing/LazyRouteCollection.php
Gets the current RouteCollection as an Iterator that includes all routes.

File

vendor/symfony-cmf/routing/LazyRouteCollection.php, line 55

Class

LazyRouteCollection

Namespace

Symfony\Cmf\Component\Routing

Code

public function all() {
  return $this->provider
    ->getRoutesByNames(null);
}