public function addColumn(BlockInterface $column, $index = null)
    {
        $this->mappingColumns = null;

        if (null !== $index) {
            array_splice($this->columns, $index, 0, $column);
        } else {
            array_push($this->columns, $column);
        }

        return $this;
    }
public function addColumn(BlockInterface $column, $index = null)
    {
        $this->mappingColumns = null;

        if (null !== $index) {
            array_splice($this->columns, $index, 0, $column);
        } else {
            array_push($this->columns, $column);
        }

        return $this;
    }
public function addColumn ( BlockInterface $ column , $ index = null ) { $ this -> mappingColumns = null ; if ( null !== $ index ) { array_splice ( $ this -> columns , $ index , 0 , $ column ) ; } else { array_push ( $ this -> columns , $ column ) ; } return $ this ; }
Add column.

@param BlockInterface $column
@param int            $index

@return self
Add column .