private function getCoreConfigMap(array $map)
    {
        $result = [];

        foreach ($map as $key => $path) {
            $value = $this->coreConfig->getConfigByPath($path)->getData('value');
            if ($value !== null) {
                $result[$key] = $this->castToType($value, $key);
            }
        }

        return $result;
    }
private function getCoreConfigMap(array $map)
    {
        $result = [];

        foreach ($map as $key => $path) {
            $value = $this->coreConfig->getConfigByPath($path)->getData('value');
            if ($value !== null) {
                $result[$key] = $this->castToType($value, $key);
            }
        }

        return $result;
    }
private function getCoreConfigMap ( array $ map ) { $ result = [ ] ; foreach ( $ map as $ key => $ path ) { $ value = $ this -> coreConfig -> getConfigByPath ( $ path ) -> getData ( 'value' ) ; if ( $ value !== null ) { $ result [ $ key ] = $ this -> castToType ( $ value , $ key ) ; } } return $ result ; }
Traverses the config and retrieves data from
magento core_config_data table

@param array $map - where key is Library defined property name
& value is core_config_data path

@return array - $return['key'] = (cast type) value
@throws \ReflectionException
Traverses the config and retrieves data from magento core_config_data table