src/TerminalObject/Basic/Table.php
public function result()
    {
        $this->column_widths = $this->getColumnWidths();
        $this->table_width   = $this->getWidth();
        $this->border        = $this->getBorder();

        $this->buildHeaderRow();

        foreach ($this->data as $columns) {
            $this->addLine($this->buildRow($columns));
            $this->addLine($this->border);
        }

        return $this->rows;
    }
public function result()
    {
        $this->column_widths = $this->getColumnWidths();
        $this->table_width   = $this->getWidth();
        $this->border        = $this->getBorder();

        $this->buildHeaderRow();

        foreach ($this->data as $columns) {
            $this->addLine($this->buildRow($columns));
            $this->addLine($this->border);
        }

        return $this->rows;
    }
public function result ( ) { $ this -> column_widths = $ this -> getColumnWidths ( ) ; $ this -> table_width = $ this -> getWidth ( ) ; $ this -> border = $ this -> getBorder ( ) ; $ this -> buildHeaderRow ( ) ; foreach ( $ this -> data as $ columns ) { $ this -> addLine ( $ this -> buildRow ( $ columns ) ) ; $ this -> addLine ( $ this -> border ) ; } return $ this -> rows ; }
Return the built rows

@return array
Return the built rows