SensioLabs\Insight\Cli\Application::doRunCommand PHP Method

doRunCommand() protected method

protected doRunCommand ( Command $command, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$command Symfony\Component\Console\Command\Command
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
    protected function doRunCommand(Command $command, InputInterface $input, OutputInterface $output)
    {
        if (!$command instanceof LocalCommand\NeedConfigurationInterface) {
            return parent::doRunCommand($command, $input, $output);
        }
        $configuration = $this->getHelperSet()->get('configuration')->getConfiguration($input, $output);
        $this->apiConfig = array_merge($this->apiConfig, $configuration->toArray());
        if (false !== $input->getParameterOption('--log')) {
            $this->logFile = $input->getParameterOption('--log') ?: getcwd() . '/insight.log';
        }
        return parent::doRunCommand($command, $input, $output);
    }