/** * Prints outline examples header. * * @param TableNode $examples * * @uses printColorizedTableRow() */ protected function printOutlineExamplesSectionHeader(TableNode $examples) { $this->writeln(); $keyword = $examples->getKeyword(); if (!$this->getParameter('expand')) { $this->writeln(" {$keyword}:"); $this->printColorizedTableRow($examples->getRowAsString(0), 'skipped'); } }
/** * {@inheritdoc} */ protected function printOutlineExamplesSectionHeader(TableNode $examples) { $this->writeln('<div class="examples">'); if (!$this->getParameter('expand')) { $this->writeln('<h4>' . $examples->getKeyword() . '</h4>'); $this->writeln('<table>'); $this->writeln('<thead>'); $this->printColorizedTableRow($examples->getRow(0), 'skipped'); $this->writeln('</thead>'); $this->writeln('<tbody>'); } }