Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 043257f commit e28c7a6Copy full SHA for e28c7a6
src/Symfony/Bundle/FrameworkBundle/Command/ConfigDebugCommand.php
@@ -38,6 +38,15 @@
38
#[AsCommand(name: 'debug:config', description: 'Dump the current configuration for an extension')]
39
class ConfigDebugCommand extends AbstractConfigCommand
40
{
41
+ public function __construct(string $name = null)
42
+ {
43
+ if (!class_exists(Yaml::class)) {
44
+ throw new \RuntimeException('The ConfigDebugCommand class requires the "Yaml" component. Install "symfony/yaml" to use it.');
45
+ }
46
+
47
+ parent::__construct($name);
48
49
50
protected function configure()
51
52
$this
0 commit comments