public function to(string $columnName) : EnumPropertyDefiner
    {
        return new EnumPropertyDefiner($this->definition, $this->enumCallback, $this->columnCallback, $columnName);
    }
public function to(string $columnName) : EnumPropertyDefiner
    {
        return new EnumPropertyDefiner($this->definition, $this->enumCallback, $this->columnCallback, $columnName);
    }
public function to ( string $ columnName ) : EnumPropertyDefiner { return new EnumPropertyDefiner ( $ this -> definition , $ this -> enumCallback , $ this -> columnCallback , $ columnName ) ; }
Defines the enum mapping to map to the supplied column name.

@param string $columnName

@return EnumPropertyDefiner
Defines the enum mapping to map to the supplied column name .