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
if (!class_exists(ConfigBuilderGenerator::class)) {
73
-
thrownew \LogicException('You cannot use the config builder as the Config component is not installed. Try running "composer require symfony/config".');
74
-
}
75
-
76
-
if (null === $this->buildDir) {
77
-
thrownew \LogicException('You cannot use the config builder without providing a path to the directory where to store the generated ConfigBuilders.');
78
-
}
79
-
80
-
if (class_exists($namespace) && is_subclass_of($namespace, ConfigBuilderInterface::class)) {
81
-
// If class exists and implements ConfigBuilderInterface
if (!$extensioninstanceof ConfigurationExtensionInterface) {
92
-
thrownew \LogicException(sprintf('You cannot use the config builder for "%s" because the extension does not implement "%s".', $namespace, ConfigurationExtensionInterface::class));
thrownewInvalidArgumentException(sprintf('There is no extension able to load the configuration for "%s" (in "%s"). Looked for namespace "%s", found "%s".', $namespace, $this->file, $namespace, $extensions ? implode('", "', $extensions) : 'none'));
if (!class_exists(ConfigBuilderGenerator::class)) {
150
+
thrownew \LogicException('You cannot use the config builder as the Config component is not installed. Try running "composer require symfony/config".');
151
+
}
152
+
153
+
if (null === $this->buildDir) {
154
+
thrownew \LogicException('You cannot use the config builder without providing a path to the directory where to store the generated ConfigBuilders.');
155
+
}
156
+
157
+
if (class_exists($namespace) && is_subclass_of($namespace, ConfigBuilderInterface::class)) {
158
+
// If class exists and implements ConfigBuilderInterface
thrownewInvalidArgumentException(sprintf('There is no extension able to load the configuration for "%s" (in "%s"). Looked for namespace "%s", found "%s".', $namespace, $this->file, $namespace, $extensions ? implode('", "', $extensions) : 'none'));
if (!$extensioninstanceof ConfigurationExtensionInterface) {
172
+
thrownew \LogicException(sprintf('You cannot use the config builder for "%s" because the extension does not implement "%s".', $namespace, ConfigurationExtensionInterface::class));
0 commit comments