src/HeaderTrait.php
/**
     * Map the passed attribute code, if a header mapping exists and return the
     * mapped mapping.
     *
     * @param string $attributeCode The attribute code to map
     *
     * @return string The mapped attribute code, or the original one
     */
Map the passed attribute code, if a header mapping exists and return the
mapped mapping.

@param string $attributeCode The attribute code to map

@return string The mapped attribute code, or the original one
Map the passed attribute code if a header mapping exists and return the mapped mapping . @param string $attributeCode The attribute code to map @return string The mapped attribute code or the original one
public function mapAttributeCodeByHeaderMapping($attributeCode)
    {
        $headerMappings = $this->getHeaderMappings();
        if (isset($headerMappings[$attributeCode])) {
            $attributeCode = $headerMappings[$attributeCode];
        }
        return $attributeCode;
    }
public function mapAttributeCodeByHeaderMapping ( $ attributeCode ) { $ headerMappings = $ this -> getHeaderMappings ( ) ; if ( isset ( $ headerMappings [ $ attributeCode ] ) ) { $ attributeCode = $ headerMappings [ $ attributeCode ] ; } return $ attributeCode ; }
Map the passed attribute code, if a header mapping exists and return the
 mapped mapping.
Map the passed attribute code if a header mapping exists and return the mapped mapping .
// load the header mappings // query weather or not we've a mapping, if yes, map the attribute code // return the (mapped) attribute code