eZ\Publish\Core\Base\ServiceContainer::dumpContainer PHP Метод

dumpContainer() защищенный Метод

Dumps the service container to PHP code in the cache.
protected dumpContainer ( Symfony\Component\Config\ConfigCache $cache )
$cache Symfony\Component\Config\ConfigCache
    protected function dumpContainer(ConfigCache $cache)
    {
        $dumper = new PhpDumper($this->innerContainer);
        if (class_exists('ProxyManager\\Configuration')) {
            $dumper->setProxyDumper(new ProxyDumper());
        }
        $content = $dumper->dump(array('class' => $this->containerClassName, 'base_class' => 'Container'));
        $cache->write($content, $this->innerContainer->getResources());
    }