public function withColumns(array $columns) : Table
    {
        if ($this->columns === $columns) {
            return $this;
        }

        return new self($this->name, $columns, $this->indexes, $this->foreignKeys);
    }
public function withColumns(array $columns) : Table
    {
        if ($this->columns === $columns) {
            return $this;
        }

        return new self($this->name, $columns, $this->indexes, $this->foreignKeys);
    }
public function withColumns ( array $ columns ) : Table { if ( $ this -> columns === $ columns ) { return $ this ; } return new self ( $ this -> name , $ columns , $ this -> indexes , $ this -> foreignKeys ) ; }
Returns the table with the supplied columns.

@param Column[] $columns

@return Table
Returns the table with the supplied columns .