function LazyRouteCollection::__construct

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

Constructs a LazyRouteCollection.

File

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

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.