Loading core/lib/Drupal/Component/DependencyInjection/Container.php +0 −4 Original line number Diff line number Diff line Loading @@ -201,10 +201,6 @@ public function get($id, $invalid_behavior = ContainerInterface::EXCEPTION_ON_IN * a new instance of the shared service. */ public function reset() { if (!empty($this->scopedServices)) { throw new LogicException('Resetting the container is not allowed when a scope is active.'); } $this->services = []; } Loading Loading
core/lib/Drupal/Component/DependencyInjection/Container.php +0 −4 Original line number Diff line number Diff line Loading @@ -201,10 +201,6 @@ public function get($id, $invalid_behavior = ContainerInterface::EXCEPTION_ON_IN * a new instance of the shared service. */ public function reset() { if (!empty($this->scopedServices)) { throw new LogicException('Resetting the container is not allowed when a scope is active.'); } $this->services = []; } Loading