You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpKernel/Kernel.php
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -225,7 +225,10 @@ public function getBundles()
225
225
publicfunctiongetBundle($name)
226
226
{
227
227
if (!isset($this->bundles[$name])) {
228
-
thrownew \InvalidArgumentException(sprintf('Bundle "%s" does not exist or it is not enabled. Maybe you forgot to add it in the registerBundles() method of your %s.php file?', $name, \get_class($this)));
thrownew \InvalidArgumentException(sprintf('Bundle "%s" does not exist or it is not enabled. Maybe you forgot to add it in the registerBundles() method of your %s.php file?', $name, $class));
229
232
}
230
233
231
234
return$this->bundles[$name];
@@ -443,7 +446,10 @@ protected function build(ContainerBuilder $container)
0 commit comments