You are here

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

File

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

Class

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

Namespace

Symfony\Cmf\Component\Routing

Code

public function __construct(PagedRouteProviderInterface $pagedRouteProvider, $routesBatchSize = 50) {
  $this->provider = $pagedRouteProvider;
  $this->routesBatchSize = $routesBatchSize;
}