src/TerminalObject/Basic/Columns.php
public function result()
    {
        $keys      = array_keys($this->data);
        $first_key = reset($keys);

        return (!is_int($first_key)) ? $this->associativeColumns() : $this->columns();
    }
public function result()
    {
        $keys      = array_keys($this->data);
        $first_key = reset($keys);

        return (!is_int($first_key)) ? $this->associativeColumns() : $this->columns();
    }
public function result ( ) { $ keys = array_keys ( $ this -> data ) ; $ first_key = reset ( $ keys ) ; return ( ! is_int ( $ first_key ) ) ? $ this -> associativeColumns ( ) : $ this -> columns ( ) ; }
Calculate the number of columns organize data

@return array
Calculate the number of columns organize data