Naneau\Obfuscator\Console\Command\ObfuscateCommand::finalizeContainer PHP Метод

finalizeContainer() приватный Метод

loads any given config file and compiles the container
private finalizeContainer ( Symfony\Component\Console\Input\InputInterface $input ) : ObfuscateCommand
$input Symfony\Component\Console\Input\InputInterface
Результат ObfuscateCommand
    private function finalizeContainer(InputInterface $input)
    {
        // Load config if given
        $config = $input->getOption('config');
        if (!empty($config)) {
            if (!is_readable($config)) {
                throw new InvalidArgumentException(sprintf('Can not read config file "%s"', $config));
            }
            $this->getContainer()->loadFile($config);
        }
        $this->getContainer()->getContainer()->compile();
        return $this;
    }