Example #1
0
 protected function execute(InputInterface $input, OutputInterface $output)
 {
     $table = $this->getHelperSet()->get('table');
     $table->setHeaders(array('key', 'value'));
     $vars = Env::getVars();
     foreach ($vars as $key => $value) {
         $table->addRow(array($key, $value));
     }
     $table->render($output);
 }