src/System/Console/Table.php
public function setHeaders(array $headers)
    {
        $columnNumber = 0;
        foreach ($headers as $header) {
            $this->updateWidth($columnNumber, $this->length($header));
            if (!in_array($header, $this->headers)) {
                $this->headers[] = $header;
            }
            $columnNumber++;
        }
    }
public function setHeaders(array $headers)
    {
        $columnNumber = 0;
        foreach ($headers as $header) {
            $this->updateWidth($columnNumber, $this->length($header));
            if (!in_array($header, $this->headers)) {
                $this->headers[] = $header;
            }
            $columnNumber++;
        }
    }
Set headers.

@param array $headers