function LazyRouteCollection::__construct

Same name in other branches
  1. 10 core/lib/Drupal/Core/Routing/LazyRouteCollection.php \Drupal\Core\Routing\LazyRouteCollection::__construct()
  2. 11.x core/lib/Drupal/Core/Routing/LazyRouteCollection.php \Drupal\Core\Routing\LazyRouteCollection::__construct()

Constructs a LazyRouteCollection.

File

core/lib/Drupal/Core/Routing/LazyRouteCollection.php, line 19

Class

LazyRouteCollection

Namespace

Drupal\Core\Routing

Code

public function __construct(RouteProviderInterface $provider) {
    $this->provider = $provider;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.