Esempio n. 1
0
 public function table(TableHelper $table)
 {
     $table->setLayout(TableHelper::LAYOUT_BORDERLESS);
     $table->setCellHeaderFormat('<info>%s</info>');
     $table->setCellRowFormat('%s');
     $table->render($this);
 }
Esempio n. 2
0
 /**
  * Writes content to output.
  *
  * @param TableHelper $table
  * @param bool        $decorated
  */
 protected function renderTable(TableHelper $table, $decorated = false)
 {
     if (!$decorated) {
         $table->setCellRowFormat('%s');
         $table->setCellHeaderFormat('%s');
     }
     $table->render($this->output);
 }