src/Cli/Command/WarmUpCommand.php
protected function execute(InputInterface $input, OutputInterface $output)
    {
        $this->init($input, $output, $input->getArgument('url'));

        $this->initConfiguration(
            new Uri($input->getArgument('url')),
            $this->eventDispatcher);

        $timeStrategy = $this->config->getExtension('_SmokeStop')->getStrategy('_TimeStop');
        $timeStrategy->init($input->getOption('duration'));

        return $this->scan();
    }
protected function execute(InputInterface $input, OutputInterface $output)
    {
        $this->init($input, $output, $input->getArgument('url'));

        $this->initConfiguration(
            new Uri($input->getArgument('url')),
            $this->eventDispatcher);

        $timeStrategy = $this->config->getExtension('_SmokeStop')->getStrategy('_TimeStop');
        $timeStrategy->init($input->getOption('duration'));

        return $this->scan();
    }
{@inheritdoc}