public function table(TableHelper $table) { $table->setLayout(TableHelper::LAYOUT_BORDERLESS); $table->setCellHeaderFormat('<info>%s</info>'); $table->setCellRowFormat('%s'); $table->render($this); }
/** * 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); }