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

        $this->initConfiguration(
            $input->getOption('config_file'),
            $this->eventDispatcher);

        if ($input->getOption('bootstrap')) {
            include $input->getOption('bootstrap');
        }

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

        $this->initConfiguration(
            $input->getOption('config_file'),
            $this->eventDispatcher);

        if ($input->getOption('bootstrap')) {
            include $input->getOption('bootstrap');
        }

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