You are here

public function PagedRouteCollection::rewind in Zircon Profile 8

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

File

vendor/symfony-cmf/routing/PagedRouteCollection.php, line 110

Class

PagedRouteCollection
Provides a route collection which avoids having all routes in memory.

Namespace

Symfony\Cmf\Component\Routing

Code

public function rewind() {
  $this->current = 0;
  $this->currentRoutes = NULL;
  $this
    ->loadNextElements($this->current);
}