You are here

public function PagedRouteCollection::valid 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::valid()

File

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

Class

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

Namespace

Symfony\Cmf\Component\Routing

Code

public function valid() {
  return key($this->currentRoutes);
}