From 1fbabff572def475ec1cd9d76e2a57e3d0354e16 Mon Sep 17 00:00:00 2001 From: Kris Wallsmith Date: Fri, 11 Jun 2010 13:21:26 -0700 Subject: [PATCH] Removed removal of parameters when optimizing the container so one class name stored in a parameter can be used for multiple services (think multiple entity/document managers) --- src/Symfony/Foundation/Kernel.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Symfony/Foundation/Kernel.php b/src/Symfony/Foundation/Kernel.php index b9337692f6..77ca3d6530 100644 --- a/src/Symfony/Foundation/Kernel.php +++ b/src/Symfony/Foundation/Kernel.php @@ -385,7 +385,6 @@ abstract class Kernel implements HttpKernelInterface, \Serializable foreach ($container->getDefinitions() as $definition) { if (false !== strpos($class = $definition->getClass(), '%')) { $definition->setClass(Builder::resolveValue($class, $container->getParameters())); - unset($container[substr($class, 1, -1)]); } } }