Bldr\Application::buildContainer PHP Method

buildContainer() private method

Builds the container with extensions
private buildContainer ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
    private function buildContainer(InputInterface $input, OutputInterface $output)
    {
        $nonContainerCommands = ['blocks-install', 'blocks-update', 'blocks-dumpautoload', 'help'];
        if (in_array($input->getFirstArgument(), $nonContainerCommands)) {
            return;
        }
        $this->container = new ContainerBuilder($this, $input, $output);
        $this->container->compile();
    }