You are here

public function Router::setConfigCacheFactory in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/routing/Router.php \Symfony\Component\Routing\Router::setConfigCacheFactory()

Sets the ConfigCache factory to use.

Parameters

ConfigCacheFactoryInterface $configCacheFactory The factory to use.:

File

vendor/symfony/routing/Router.php, line 224

Class

Router
The Router class is an example of the integration of all pieces of the routing system for easier use.

Namespace

Symfony\Component\Routing

Code

public function setConfigCacheFactory(ConfigCacheFactoryInterface $configCacheFactory) {
  $this->configCacheFactory = $configCacheFactory;
}