public function Table::setHeaders in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Helper/Table.php \Symfony\Component\Console\Helper\Table::setHeaders()
File
- vendor/
symfony/ console/ Helper/ Table.php, line 141
Class
- Table
- Provides helpers to display a table.
Namespace
Symfony\Component\Console\HelperCode
public function setHeaders(array $headers) {
$headers = array_values($headers);
if (!empty($headers) && !is_array($headers[0])) {
$headers = array(
$headers,
);
}
$this->headers = $headers;
return $this;
}