protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) | ||
$input | Symfony\Component\Console\Input\InputInterface | |
$output | Symfony\Component\Console\Output\OutputInterface |
protected function execute(InputInterface $input, OutputInterface $output)
{
$profileManager = new Manager();
$rows = [];
foreach ($profileManager->listAllProfiles() as $profileName) {
$rows[] = [$profileName];
}
$table = new \Symfony\Component\Console\Helper\Table($output);
$table->setHeaders(array('Profile Name'))->setRows($rows);
$table->render();
}