MyBuilder\Conductor\Command\BaseCommand::initialize PHP Метод

initialize() защищенный Метод

protected initialize ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
    protected function initialize(InputInterface $input, OutputInterface $output)
    {
        $this->configurationFile = $this->locateConfigurationFile($input->getOption('config'));
        $this->changeWorkingDir($this->workingDir = dirname($this->configurationFile));
        if (OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) {
            $output->writeln('<info>Using configuration:</info> ' . $this->configurationFile);
            $output->writeln('<info>Changed working dir:</info> ' . $this->workingDir);
        }
    }