src/TerminalObject/Basic/Columns.php
protected function getColumnWidths()
    {
        $column_widths = [];

        for ($i = 0; $i < $this->column_count; $i++) {
            if (!isset($this->data[$i])) {
                $column_widths[] = 0;
                continue;
            }
            $column_widths[] = $this->getColumnWidth($this->data[$i]);
        }

        return $column_widths;
    }
protected function getColumnWidths()
    {
        $column_widths = [];

        for ($i = 0; $i < $this->column_count; $i++) {
            if (!isset($this->data[$i])) {
                $column_widths[] = 0;
                continue;
            }
            $column_widths[] = $this->getColumnWidth($this->data[$i]);
        }

        return $column_widths;
    }
protected function getColumnWidths ( ) { $ column_widths = [ ] ; for ( $ i = 0 ; $ i < $ this -> column_count ; $ i ++ ) { if ( ! isset ( $ this -> data [ $ i ] ) ) { $ column_widths [ ] = 0 ; continue ; } $ column_widths [ ] = $ this -> getColumnWidth ( $ this -> data [ $ i ] ) ; } return $ column_widths ; }
Get an array of each column's width

@return array
Get an array of each column s width