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 (null === $name = $input->getArgument('name')) {
63
-
$this->listBundles($io);
64
-
$io->comment('Provide the name of a bundle as the first argument of this command to dump its configuration. (e.g. <comment>debug:config FrameworkBundle</comment>)');
65
-
$io->comment('For dumping a specific option, add its path as the second argument of this command. (e.g. <comment>debug:config FrameworkBundle serializer</comment> to dump the <comment>framework.serializer</comment> configuration)');
65
+
$this->listBundles($errorIo);
66
+
$errorIo->comment('Provide the name of a bundle as the first argument of this command to dump its configuration. (e.g. <comment>debug:config FrameworkBundle</comment>)');
67
+
$errorIo->comment('For dumping a specific option, add its path as the second argument of this command. (e.g. <comment>debug:config FrameworkBundle serializer</comment> to dump the <comment>framework.serializer</comment> configuration)');
66
68
67
69
return;
68
70
}
@@ -94,7 +96,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
@@ -70,8 +71,9 @@ protected function execute(InputInterface $input, OutputInterface $output)
70
71
$io = newSymfonyStyle($input, $output);
71
72
72
73
if (null === $name = $input->getArgument('name')) {
73
-
$this->listBundles($io);
74
-
$io->comment('Provide the name of a bundle as the first argument of this command to dump its default configuration. (e.g. <comment>config:dump-reference FrameworkBundle</comment>)');
$errorIo->comment('Provide the name of a bundle as the first argument of this command to dump its default configuration. (e.g. <comment>config:dump-reference FrameworkBundle</comment>)');
@@ -115,15 +118,15 @@ protected function execute(InputInterface $input, OutputInterface $output)
115
118
$options['format'] = $input->getOption('format');
116
119
$options['raw_text'] = $input->getOption('raw');
117
120
$options['output'] = $io;
118
-
$helper->describe($output, $object, $options);
121
+
$helper->describe($io, $object, $options);
119
122
120
123
if (!$input->getArgument('name') && !$input->getOption('tag') && !$input->getOption('parameter') && $input->isInteractive()) {
121
124
if ($input->getOption('tags')) {
122
-
$io->comment('To search for a specific tag, re-run this command with a search term. (e.g. <comment>debug:container --tag=form.type</comment>)');
125
+
$errorIo->comment('To search for a specific tag, re-run this command with a search term. (e.g. <comment>debug:container --tag=form.type</comment>)');
123
126
} elseif ($input->getOption('parameters')) {
124
-
$io->comment('To search for a specific parameter, re-run this command with a search term. (e.g. <comment>debug:container --parameter=kernel.debug</comment>)');
127
+
$errorIo->comment('To search for a specific parameter, re-run this command with a search term. (e.g. <comment>debug:container --parameter=kernel.debug</comment>)');
125
128
} else {
126
-
$io->comment('To search for a specific service, re-run this command with a search term. (e.g. <comment>debug:container log</comment>)');
129
+
$errorIo->comment('To search for a specific service, re-run this command with a search term. (e.g. <comment>debug:container log</comment>)');
0 commit comments