[command] Displayed the environment value
This commit is contained in:
parent
4dcdc0f3b9
commit
cbd9ac634e
1 changed files with 2 additions and 1 deletions
|
|
@ -359,7 +359,8 @@ EOT;
|
|||
throw new \InvalidArgumentException(sprintf('Connection named %s doesn\'t exist', $name));
|
||||
}
|
||||
|
||||
$output->writeln(sprintf('<info>Use connection named</info> <comment>%s</comment>.', $name));
|
||||
$output->writeln(sprintf('Use connection named <comment>%s</comment> in <comment>%s</comment> environment.',
|
||||
$name, $this->getApplication()->getKernel()->getEnvironment()));
|
||||
|
||||
return array($name, $defaultConfig);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue