We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9ba418 commit 5e44e95Copy full SHA for 5e44e95
Command/AbstractConfigCommand.php
@@ -57,6 +57,10 @@ protected function findExtension($name)
57
$bundles = $this->initializeBundles();
58
foreach ($bundles as $bundle) {
59
if ($name === $bundle->getName()) {
60
+ if (!$bundle->getContainerExtension()) {
61
+ throw new \LogicException(sprintf('Bundle "%s" does not have a container extension.', $name));
62
+ }
63
+
64
return $bundle->getContainerExtension();
65
}
66
0 commit comments