src/Sulu/Component/Content/Metadata/Parser/PropertiesXmlParser.php
private function loadTypes(&$tags, \DOMXPath $xpath, \DOMNode $context = null)
    {
        $result = [];

        /** @var \DOMElement $node */
        foreach ($xpath->query('x:types/x:type', $context) as $node) {
            $value = $this->loadType($xpath, $node, $tags);
            $result[$value['name']] = $value;
        }

        return $result;
    }
private function loadTypes(&$tags, \DOMXPath $xpath, \DOMNode $context = null)
    {
        $result = [];

        /** @var \DOMElement $node */
        foreach ($xpath->query('x:types/x:type', $context) as $node) {
            $value = $this->loadType($xpath, $node, $tags);
            $result[$value['name']] = $value;
        }

        return $result;
    }
private function loadTypes ( & $ tags , \ DOMXPath $ xpath , \ DOMNode $ context = null ) { $ result = [ ] ; /** @var \DOMElement $node */ foreach ( $ xpath -> query ( 'x:types/x:type' , $ context ) as $ node ) { $ value = $ this -> loadType ( $ xpath , $ node , $ tags ) ; $ result [ $ value [ 'name' ] ] = $ value ; } return $ result ; }
load types from given node.
load types from given node .