protected function mapColumName($columnName)
    {

        // query whether or not we can match the column name
        if (isset($this->defaultAddressMapping[$columnName])) {
            return $this->defaultAddressMapping[$columnName];
        }

        // throw an exception if NOT
        throw new \Exception(sprintf('Can\'t map member name to default address column "%s"', $columnName));
    }
protected function mapColumName($columnName)
    {

        // query whether or not we can match the column name
        if (isset($this->defaultAddressMapping[$columnName])) {
            return $this->defaultAddressMapping[$columnName];
        }

        // throw an exception if NOT
        throw new \Exception(sprintf('Can\'t map member name to default address column "%s"', $columnName));
    }
protected function mapColumName ( $ columnName ) { // query whether or not we can match the column name if ( isset ( $ this -> defaultAddressMapping [ $ columnName ] ) ) { return $ this -> defaultAddressMapping [ $ columnName ] ; } // throw an exception if NOT throw new \ Exception ( sprintf ( 'Can\'t map member name to default address column "%s"' , $ columnName ) ) ; }
Maps the passed customer address column name to the matching customer member name.

@param string $columnName The column name to map

@return string The mapped customer member name
@throws \Exception Is thrown if the column can't be mapped
Maps the passed customer address column name to the matching customer member name .