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;
}