Altax\Console\Application::configureContainer PHP Method

configureContainer() protected method

Configure container to use cli application.
protected configureContainer ( 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 configureContainer(InputInterface $input, OutputInterface $output)
    {
        // Additional specified configuration file.
        if (true === $input->hasParameterOption(array('--file', '-f'))) {
            $this->container->setConfigFile("option", $input->getParameterOption(array('--file', '-f')));
        }
        $this->container->setApp($this);
        $this->container->setInput($input);
        $this->container->setOutput($output);
    }