RouteProviderLazyBuilder::__construct

public RouteProviderLazyBuilder::__construct(RouteProviderInterface $route_provider, RouteBuilderInterface $route_builder)

RouteProviderLazyBuilder constructor.

Parameters

\Drupal\Core\Routing\RouteProviderInterface $route_provider: The route provider service.

\Drupal\Core\Routing\RouteBuilderInterface $route_builder: The route building service.

File

core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php, line 42

Class

RouteProviderLazyBuilder
A Route Provider front-end for all Drupal-stored routes.

Namespace

Drupal\Core\Routing

Code

public function __construct(RouteProviderInterface $route_provider, RouteBuilderInterface $route_builder) {
  $this->routeProvider = $route_provider;
  $this->routeBuilder = $route_builder;
}
doc_Drupal
2016-10-29 09:39:23
Comments
Leave a Comment

Please login to continue.