private function parseDatasources(\DOMXPath $xpath, \DOMNode $typeRootNode)
    {
        $datasources = [];

        foreach ($xpath->query(self::DATASOURCES_PATH, $typeRootNode) as $datasourceNode) {
            $datasources[$datasourceNode->getAttribute('name')] = $datasourceNode->nodeValue;
        }

        return $datasources;
    }
private function parseDatasources(\DOMXPath $xpath, \DOMNode $typeRootNode)
    {
        $datasources = [];

        foreach ($xpath->query(self::DATASOURCES_PATH, $typeRootNode) as $datasourceNode) {
            $datasources[$datasourceNode->getAttribute('name')] = $datasourceNode->nodeValue;
        }

        return $datasources;
    }
private function parseDatasources ( \ DOMXPath $ xpath , \ DOMNode $ typeRootNode ) { $ datasources = [ ] ; foreach ( $ xpath -> query ( self :: DATASOURCES_PATH , $ typeRootNode ) as $ datasourceNode ) { $ datasources [ $ datasourceNode -> getAttribute ( 'name' ) ] = $ datasourceNode -> nodeValue ; } return $ datasources ; }
Parse datasources from type node configuration.

@deprecated

@param \DOMXPath $xpath        XPath access to the document parsed.
@param \DOMNode  $typeRootNode Type node to be parsed.

@return array
Parse datasources from type node configuration .