[HttpKernel] use static late binding when dumping out container

This commit is contained in:
Tóth Gábor 2013-12-02 15:32:33 +01:00
parent 05b17555d4
commit 2e241cc606

View File

@ -690,7 +690,7 @@ abstract class Kernel implements KernelInterface, TerminableInterface
$dumper = new PhpDumper($container);
$content = $dumper->dump(array('class' => $class, 'base_class' => $baseClass));
if (!$this->debug) {
$content = self::stripComments($content);
$content = static::stripComments($content);
}
$cache->write($content, $container->getResources());