protected function start(InputInterface $input, OutputInterface $output, $serviceClass, $prefix)
    {
        $benchmark = new CommandBenchmark($output);
        $benchmark->start();

        /** @var PipelineStarter $service */
        $service = $this->getContainer()->get($serviceClass);
        $factory = $service->getPipelineFactory();
        $factory->setProgressBar(new ProgressBar($output));
        $service->startPipeline($prefix, $input->getArgument('target'));

        $benchmark->finish();
    }
protected function start(InputInterface $input, OutputInterface $output, $serviceClass, $prefix)
    {
        $benchmark = new CommandBenchmark($output);
        $benchmark->start();

        /** @var PipelineStarter $service */
        $service = $this->getContainer()->get($serviceClass);
        $factory = $service->getPipelineFactory();
        $factory->setProgressBar(new ProgressBar($output));
        $service->startPipeline($prefix, $input->getArgument('target'));

        $benchmark->finish();
    }
protected function start ( InputInterface $ input , OutputInterface $ output , $ serviceClass , $ prefix ) { $ benchmark = new CommandBenchmark ( $ output ) ; $ benchmark -> start ( ) ; /** @var PipelineStarter $service */ $ service = $ this -> getContainer ( ) -> get ( $ serviceClass ) ; $ factory = $ service -> getPipelineFactory ( ) ; $ factory -> setProgressBar ( new ProgressBar ( $ output ) ) ; $ service -> startPipeline ( $ prefix , $ input -> getArgument ( 'target' ) ) ; $ benchmark -> finish ( ) ; }
Starts service with provided parameters.

@param InputInterface  $input
@param OutputInterface $output
@param string          $serviceClass
@param string          $prefix
Starts service with provided parameters .