public function setColumnDefinition($columnIndex, Column $column) {

        // if the index is valid
        if ($columnIndex < $this->columnCount) {

            // copy the column information
            $this->columnDefinitions[$columnIndex] = clone $column;
        }
        
    }
public function setColumnDefinition($columnIndex, Column $column) {

        // if the index is valid
        if ($columnIndex < $this->columnCount) {

            // copy the column information
            $this->columnDefinitions[$columnIndex] = clone $column;
        }
        
    }
public function setColumnDefinition ( $ columnIndex , Column $ column ) { // if the index is valid if ( $ columnIndex < $ this -> columnCount ) { // copy the column information $ this -> columnDefinitions [ $ columnIndex ] = clone $ column ; } }
Set the column definition for one column

@param int $columnIndex
@param Column $column
Set the column definition for one column