protected function bootLightweightContainer()
    {
        if (null === $this->lightweightContainer) {
            $this->lightweightContainer
                = $container
                = new Container();

            foreach ($this->getKernelParameters() as $param => $value) {
                $this->lightweightContainer->setParameter($param, $value);
            }
        }
        return $this->lightweightContainer;
    }