protected function getContainerInitializer()
    {
        $initializer = new DefaultInitializer($this->getConfigurationProvider());
        if ($this->cache) {
            $initializer = new CachedInitializer($initializer, $this->getCacheDir());
        }

        return $initializer;
    }