public function idToPrimaryKey(string $columnName)
    {
        $this->verifyProperty(__METHOD__, IEntity::ID);
        $this->propertyColumnMap[IEntity::ID] = $columnName;
        $this->mappedProperties[IEntity::ID]  = true;
        $this->primaryKey($columnName);
    }
public function idToPrimaryKey(string $columnName)
    {
        $this->verifyProperty(__METHOD__, IEntity::ID);
        $this->propertyColumnMap[IEntity::ID] = $columnName;
        $this->mappedProperties[IEntity::ID]  = true;
        $this->primaryKey($columnName);
    }
public function idToPrimaryKey ( string $ columnName ) { $ this -> verifyProperty ( __METHOD__ , IEntity :: ID ) ; $ this -> propertyColumnMap [ IEntity :: ID ] = $ columnName ; $ this -> mappedProperties [ IEntity :: ID ] = true ; $ this -> primaryKey ( $ columnName ) ; }
Defines the primary key column name.

@param string $columnName

@return void
Defines the primary key column name .