private function parseTypeConfig(\DOMXPath $xpath, \DOMNode $typeRootNode)
    {
        $staticFields  = $this->parseMappingFields($xpath, $typeRootNode);
        $idFieldName   = $typeRootNode->getAttribute('idFieldName');
        $datasources   = $this->parseDatasources($xpath, $typeRootNode);

        $mappingParams = ['staticFields' => $staticFields];

        return ['mapping' => $mappingParams, 'idFieldName' => $idFieldName, 'datasources' => $datasources];
    }
private function parseTypeConfig(\DOMXPath $xpath, \DOMNode $typeRootNode)
    {
        $staticFields  = $this->parseMappingFields($xpath, $typeRootNode);
        $idFieldName   = $typeRootNode->getAttribute('idFieldName');
        $datasources   = $this->parseDatasources($xpath, $typeRootNode);

        $mappingParams = ['staticFields' => $staticFields];

        return ['mapping' => $mappingParams, 'idFieldName' => $idFieldName, 'datasources' => $datasources];
    }
private function parseTypeConfig ( \ DOMXPath $ xpath , \ DOMNode $ typeRootNode ) { $ staticFields = $ this -> parseMappingFields ( $ xpath , $ typeRootNode ) ; $ idFieldName = $ typeRootNode -> getAttribute ( 'idFieldName' ) ; $ datasources = $ this -> parseDatasources ( $ xpath , $ typeRootNode ) ; $ mappingParams = [ 'staticFields' => $ staticFields ] ; return [ 'mapping' => $ mappingParams , 'idFieldName' => $ idFieldName , 'datasources' => $ datasources ] ; }
Parse type node configuration.

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

@return array
Parse type node configuration .