public function to(string $columnName) : ColumnTypeDefiner
    {
        return new ColumnTypeDefiner(
                $this->definition,
                $this->callback,
                $columnName
        );
    }
public function to(string $columnName) : ColumnTypeDefiner
    {
        return new ColumnTypeDefiner(
                $this->definition,
                $this->callback,
                $columnName
        );
    }
public function to ( string $ columnName ) : ColumnTypeDefiner { return new ColumnTypeDefiner ( $ this -> definition , $ this -> callback , $ columnName ) ; }
Maps the accessor to the supplied column name.

@param string $columnName

@return ColumnTypeDefiner
Maps the accessor to the supplied column name .