Add list users command

This commit is contained in:
Tim
2021-09-19 21:12:09 +02:00
parent 2e8469b11a
commit d78f52b965
4 changed files with 54 additions and 8 deletions

View File

@ -9,7 +9,6 @@ use Symfony\Component\Console\Output\OutputInterface;
class ListDatabasesCommand extends Command
{
// the name of the command (the part after "bin/console")
protected static $defaultName = 'app:db:list';
public function __construct(
@ -19,11 +18,6 @@ class ListDatabasesCommand extends Command
parent::__construct();
}
protected function configure(): void
{
// ...
}
protected function execute(InputInterface $input, OutputInterface $output): int
{
$dbs = $this->db->listDatabases();