protected function dump_container($cache)
{
try {
$dumper = new PhpDumper($this->container);
$cached_container_dump = $dumper->dump(array('class' => 'phpbb_cache_container', 'base_class' => 'Symfony\\Component\\DependencyInjection\\ContainerBuilder'));
$cache->write($cached_container_dump, $this->container->getResources());
} catch (IOException $e) {
// Don't fail if the cache isn't writeable
}
}