src/Table/Table/Columns.php
public function getColumnByIndex($index)
    {
        $keys = array_keys($this->columns);
        if (empty($keys[$index]) || empty($column = $this->columns[$keys[$index]])) {
            throw new \InvalidArgumentException('Table don\'t have a column index : ' . $index);
        }

        return $column;
    }
public function getColumnByIndex($index)
    {
        $keys = array_keys($this->columns);
        if (empty($keys[$index]) || empty($column = $this->columns[$keys[$index]])) {
            throw new \InvalidArgumentException('Table don\'t have a column index : ' . $index);
        }

        return $column;
    }
public function getColumnByIndex ( $ index ) { $ keys = array_keys ( $ this -> columns ) ; if ( empty ( $ keys [ $ index ] ) || empty ( $ column = $ this -> columns [ $ keys [ $ index ] ] ) ) { throw new \ InvalidArgumentException ( 'Table don\'t have a column index : ' . $ index ) ; } return $ column ; }
Return the column from his index

@return Column\Column $column
Return the column from his index