فهرست منبع

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)

Kris Wallsmith 15 سال پیش
والد
کامیت
1fbabff572
1فایلهای تغییر یافته به همراه0 افزوده شده و 1 حذف شده
  1. 0 1
      src/Symfony/Foundation/Kernel.php

+ 0 - 1
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)]);
             }
         }
     }