public RoutePreloader::__construct(RouteProviderInterface $route_provider, StateInterface $state, CacheBackendInterface $cache)
Constructs a new RoutePreloader.
\Drupal\Core\Routing\RouteProviderInterface $route_provider: The route provider.
\Drupal\Core\State\StateInterface $state: The state key value store.
\Drupal\Core\Cache\CacheBackendInterface $cache:
public function __construct(RouteProviderInterface $route_provider, StateInterface $state, CacheBackendInterface $cache) { $this->routeProvider = $route_provider; $this->state = $state; $this->cache = $cache; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Routing!RoutePreloader.php/function/RoutePreloader::__construct/8.1.x