src/Cli/Command/WarmUpCommand.php
private function initConfiguration(Uri $uri, Dispatcher $dispatcher)
    {
        $configArray = $this->getConfigArray(__DIR__ . '/../../settings/warmup.yml');

        $config = new Configuration($uri, $dispatcher, $configArray);

        $crawler = $config->getExtension('_ResponseRetriever')->getRetriever();
        $crawler->setStartPage($uri);

        $this->config = $config;
    }
private function initConfiguration(Uri $uri, Dispatcher $dispatcher)
    {
        $configArray = $this->getConfigArray(__DIR__ . '/../../settings/warmup.yml');

        $config = new Configuration($uri, $dispatcher, $configArray);

        $crawler = $config->getExtension('_ResponseRetriever')->getRetriever();
        $crawler->setStartPage($uri);

        $this->config = $config;
    }
Initializes the configuration.

@param $configFile
@param $loadForeign
@param Uri $uri

@return Configuration