src/TerminalObject/Basic/Table.php
protected function buildRow($columns)
    {
        $row = [];

        foreach ($columns as $key => $column) {
            $row[] = $this->buildCell($key, $column);
        }

        $row = implode($this->column_divider, $row);

        return trim($this->column_divider . $row . $this->column_divider);
    }
protected function buildRow($columns)
    {
        $row = [];

        foreach ($columns as $key => $column) {
            $row[] = $this->buildCell($key, $column);
        }

        $row = implode($this->column_divider, $row);

        return trim($this->column_divider . $row . $this->column_divider);
    }
protected function buildRow ( $ columns ) { $ row = [ ] ; foreach ( $ columns as $ key => $ column ) { $ row [ ] = $ this -> buildCell ( $ key , $ column ) ; } $ row = implode ( $ this -> column_divider , $ row ) ; return trim ( $ this -> column_divider . $ row . $ this -> column_divider ) ; }
Get table row

@param  mixed  $columns

@return string
Get table row